ZF-12298: Zend_Test_PHPUnit_ControllerTestCase::assertNotRedirect() undefined index: location in 1.12.0rc1


Zend_Test_PHPUnit_ControllerTestCase::assertNotRedirect causes an "undefined index: location" error notice in 1.12.0rc1.

It produces an E_NOTICE error which fails test suite.

To reproduce:

1) Create zf app with zf tool

2) Add: $this->assertNotRedirect(); to the end of the method testIndexAction() in file: tests/application/controllers/IndexController.php

3) run tests


Fixed in trunk r25001.
Merged to release-1.12 r25002.