Issues

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

Issue Type: Unit Tests: Problem Created: 2008-11-07T04:33:49.000+0000 Last Updated: 2008-11-13T14:10:19.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Alexander Veremyev (alexander) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Test_PHPUnit

Related issues: Attachments:

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

  1. 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

  2. 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

  3. 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

  4. 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

  5. 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

  6. 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

  7. 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

  8. 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

  9. 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

  10. 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

  11. 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

  12. 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

  13. 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

  14. 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

  15. 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

  16. 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

  17. 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

  18. 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

Posted by Matthew Weier O'Phinney (matthew) on 2008-11-11T08:53:49.000+0000

fixed in r12553

Posted by Wil Sinclair (wil) on 2008-11-13T14:10:19.000+0000

Changing issues in preparation for the 1.7.0 release.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts