diff --git a/lib/Cake/Test/TestApp/View/Helper/BananaHelper.php b/lib/Cake/Test/TestApp/View/Helper/BananaHelper.php index 97ed5b649f9..6b7ecacce04 100644 --- a/lib/Cake/Test/TestApp/View/Helper/BananaHelper.php +++ b/lib/Cake/Test/TestApp/View/Helper/BananaHelper.php @@ -16,6 +16,7 @@ * @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ namespace TestApp\View\Helper; + use Cake\View\Helper; class BananaHelper extends Helper { diff --git a/lib/Cake/Test/TestCase/Error/ExceptionRendererTest.php b/lib/Cake/Test/TestCase/Error/ExceptionRendererTest.php index 8952290c7ce..84215a09a8b 100644 --- a/lib/Cake/Test/TestCase/Error/ExceptionRendererTest.php +++ b/lib/Cake/Test/TestCase/Error/ExceptionRendererTest.php @@ -282,6 +282,7 @@ public function testErrorMethodCoercion() { * test that helpers in custom CakeErrorController are not lost */ public function testCakeErrorHelpersNotLost() { + Configure::write('App.namespace', 'TestApp'); $testApp = CAKE . 'Test/TestApp/'; App::build(array( 'Controller' => array(