ZF-4846: Set of "Undefined index: SCRIPT_FILENAME" unit tests errors (Zend_Test_PHPUnit_ControllerTestCaseTest)

Description

{panel} 8) testDispatchShouldDispatchSpecifiedUrl(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

9) testAssertQueryShouldDoNothingForValidResponseContent(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

10) testAssertionsShouldIncreasePhpUnitAssertionCounter(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

11) testAssertQueryShouldThrowExceptionsForInValidResponseContent(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

12) testAssertXpathShouldDoNothingForValidResponseContent(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

13) testAssertXpathShouldThrowExceptionsForInValidResponseContent(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

14) testModuleAssertionShouldDoNothingForValidComparison(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

15) testModuleAssertionShouldThrowExceptionForInvalidComparison(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

16) testControllerAssertionShouldDoNothingForValidComparison(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

17) testControllerAssertionShouldThrowExceptionForInvalidComparison(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

18) testActionAssertionShouldDoNothingForValidComparison(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

19) testActionAssertionShouldThrowExceptionForInvalidComparison(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

20) testRouteAssertionShouldDoNothingForValidComparison(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

21) testRouteAssertionShouldThrowExceptionForInvalidComparison(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

22) testResetResponseShouldClearResponseObject(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

23) testResetRequestShouldClearRequestObject(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

24) testResetResponseShouldClearAllViewPlaceholders(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

25) testQueryParametersShouldPersistFollowingDispatch(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165

26) testQueryStringShouldNotOverwritePreviouslySetQueryParameters(Zend_Test_PHPUnit_ControllerTestCaseTest) Undefined index: SCRIPT_FILENAME /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:459 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:527 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Controller/Request/Http.php:585 /home/cawa/ZendFramework/svn/framework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:165 {panel}

Comments

fixed in r12553

Changing issues in preparation for the 1.7.0 release.