From a726f82f18e36c7009aab2f06b807d06418ca93b Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sun, 3 Jan 2010 23:35:17 -0500 Subject: [PATCH] Fixing failing test caused by changes in Configure/App api's and merged code from 1.2 --- cake/tests/cases/dispatcher.test.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cake/tests/cases/dispatcher.test.php b/cake/tests/cases/dispatcher.test.php index 2938d9630..0d9e86235 100644 --- a/cake/tests/cases/dispatcher.test.php +++ b/cake/tests/cases/dispatcher.test.php @@ -2115,7 +2115,9 @@ class DispatcherTest extends CakeTestCase { $_SERVER['PHP_SELF'] = '/'; Router::reload(); - Configure::write('viewPaths', array(TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'views'. DS)); + App::build(array( + 'views' => array(TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'views'. DS) + )); $dispatcher =& new Dispatcher(); $dispatcher->base = false;