Skip to content

Commit

Permalink
Fixing failing test caused by changes in Configure/App api's and merg…
Browse files Browse the repository at this point in the history
…ed code from 1.2
  • Loading branch information
markstory committed Jan 4, 2010
1 parent 32683d3 commit a726f82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cake/tests/cases/dispatcher.test.php
Expand Up @@ -2115,7 +2115,9 @@ function testCachedRegisteringViewObject() {
$_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;
Expand Down

0 comments on commit a726f82

Please sign in to comment.