Skip to content
This repository
Browse code

Fixing remaining failing tests

  • Loading branch information...
commit df303f9e092a9250afe6aa33629bb9edbbb76377 1 parent 2bca143
José Lorenzo Rodríguez authored September 03, 2011
2  lib/Cake/Test/Case/Error/ErrorHandlerTest.php
@@ -77,7 +77,7 @@ public function testHandleErrorDebugOn() {
77 77
 		$wrong .= '';
78 78
 		$result = ob_get_clean();
79 79
 
80  
-		$this->assertPattern('/<pre class="cake-debug">/', $result);
  80
+		$this->assertPattern('/<pre class="cake-error">/', $result);
81 81
 		$this->assertPattern('/<b>Notice<\/b>/', $result);
82 82
 		$this->assertPattern('/variable:\s+wrong/', $result);
83 83
 	}
2  lib/Cake/Test/Case/Routing/DispatcherTest.php
@@ -1059,7 +1059,7 @@ public function testTestPluginDispatch() {
1059 1059
 		$Dispatcher = new TestDispatcher();
1060 1060
 		App::build(array(
1061 1061
 			'plugins' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS)
1062  
-		));
  1062
+		), APP::RESET);
1063 1063
 		CakePlugin::loadAll();
1064 1064
 		Router::reload();
1065 1065
 		Router::parse('/');

0 notes on commit df303f9

Please sign in to comment.
Something went wrong with that request. Please try again.