Skip to content
Permalink
Browse files

Adding debug backup for view test.

  • Loading branch information...
markstory committed Sep 25, 2010
1 parent f60a7fb commit 24dd0af6011cab4d45fa2cdb99fac04efb8dc6fc
Showing with 5 additions and 0 deletions.
  1. +5 −0 cake/tests/cases/libs/view/view.test.php
@@ -239,6 +239,9 @@ function setUp() {
TEST_CAKE_CORE_INCLUDE_PATH . 'libs' . DS . 'view' . DS
)
), true);
$this->_debug = Configure::read('debug');
Configure::write('debug', 2);
}
/**
@@ -251,7 +254,9 @@ function tearDown() {
unset($this->View);
unset($this->PostsController);
unset($this->Controller);
App::build();
Configure::write('debug', $this->_debug);
}
/**

0 comments on commit 24dd0af

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