Skip to content
Permalink
Browse files

Updating paths so app layout doesn't break tests.

  • Loading branch information...
markstory committed Feb 28, 2010
1 parent dbe35a4 commit 428ee1998a6ba45f7ec9f9e752528bcdaadaf26b
Showing with 6 additions and 0 deletions.
  1. +6 −0 cake/tests/cases/libs/error.test.php
@@ -328,6 +328,10 @@ function testError() {
* @return void
*/
function testError404() {
App::build(array(
'views' => array(TEST_CAKE_CORE_INCLUDE_PATH . 'libs' . DS . 'view' . DS)
), true);
ob_start();
$TestErrorHandler = new TestErrorHandler('error404', array('message' => 'Page not found', 'url' => '/test_error'));
$result = ob_get_clean();
@@ -345,6 +349,8 @@ function testError404() {
$result = ob_get_clean();
$this->assertNoPattern('#<script>#', $result);
$this->assertNoPattern('#</script>#', $result);
App::build();
}
/**

0 comments on commit 428ee19

Please sign in to comment.
You can’t perform that action at this time.