Issues

ZF-3692: Zend_Test_PHPUnit_ControllerTestCaseTest unit tests errors with "script 'error/error.phtml' not found" notification

Issue Type: Unit Tests: Problem Created: 2008-07-20T04:12:48.000+0000 Last Updated: 2008-09-02T10:39:00.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

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

Related issues: Attachments:

Description

Unit tests fail with the following notification:

{panel} 4) testAssertQueryShouldDoNothingForValidResponseContent(Zend_Test_PHPUnit_ControllerTestCaseTest) Zend_View_Exception: script 'error/error.phtml' not found in path (/home/cawa/ZendFramework/trunk/tests/Zend/Test/PHPUnit/_files/application/views/scripts/) /home/cawa/ZendFramework/trunk/library/Zend/View/Abstract.php:783 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action/Helper/ViewRenderer.php:910 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action/Helper/ViewRenderer.php:931 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action/Helper/ViewRenderer.php:970 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action/HelperBroker.php:167 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action.php:512 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Dispatcher/Standard.php:293 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Front.php:919 /home/cawa/ZendFramework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:169

  1. testModuleAssertionShouldDoNothingForValidComparison(Zend_Test_PHPUnit_ControllerTestCaseTest) Zend_View_Exception: script 'error/error.phtml' not found in path (/home/cawa/ZendFramework/trunk/tests/Zend/Test/PHPUnit/_files/application/views/scripts/) /home/cawa/ZendFramework/trunk/library/Zend/View/Abstract.php:783 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action/Helper/ViewRenderer.php:910 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action/Helper/ViewRenderer.php:931 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action/Helper/ViewRenderer.php:970 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action/HelperBroker.php:167 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action.php:512 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Dispatcher/Standard.php:293 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Front.php:919 /home/cawa/ZendFramework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:169

  2. testResetResponseShouldClearResponseObject(Zend_Test_PHPUnit_ControllerTestCaseTest) Zend_View_Exception: script 'error/error.phtml' not found in path (/home/cawa/ZendFramework/trunk/tests/Zend/Test/PHPUnit/_files/application/views/scripts/) /home/cawa/ZendFramework/trunk/library/Zend/View/Abstract.php:783 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action/Helper/ViewRenderer.php:910 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action/Helper/ViewRenderer.php:931 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action/Helper/ViewRenderer.php:970 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action/HelperBroker.php:167 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Action.php:512 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Dispatcher/Standard.php:293 /home/cawa/ZendFramework/trunk/library/Zend/Controller/Front.php:919 /home/cawa/ZendFramework/trunk/library/Zend/Test/PHPUnit/ControllerTestCase.php:169 {panel}

Comments

Posted by Matthew Weier O'Phinney (matthew) on 2008-08-07T09:42:35.000+0000

Resolved in trunk in r10760 and in 1.6 release branch in r10761

Posted by Wil Sinclair (wil) on 2008-09-02T10:39:00.000+0000

Updating for the 1.6.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