Permalink
Browse files

Fixing remaining failing tests

  • Loading branch information...
1 parent 2bca143 commit df303f9e092a9250afe6aa33629bb9edbbb76377 @lorenzo lorenzo committed Sep 3, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/Cake/Test/Case/Error/ErrorHandlerTest.php
  2. +1 −1 lib/Cake/Test/Case/Routing/DispatcherTest.php
@@ -77,7 +77,7 @@ public function testHandleErrorDebugOn() {
$wrong .= '';
$result = ob_get_clean();
- $this->assertPattern('/<pre class="cake-debug">/', $result);
+ $this->assertPattern('/<pre class="cake-error">/', $result);
$this->assertPattern('/<b>Notice<\/b>/', $result);
$this->assertPattern('/variable:\s+wrong/', $result);
}
@@ -1059,7 +1059,7 @@ public function testTestPluginDispatch() {
$Dispatcher = new TestDispatcher();
App::build(array(
'plugins' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS)
- ));
+ ), APP::RESET);
CakePlugin::loadAll();
Router::reload();
Router::parse('/');

0 comments on commit df303f9

Please sign in to comment.