Browse Source

Fix failing test.

Mark Story 11 years ago
parent
commit
6e8330890e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Error/ExceptionRendererTest.php

+ 1 - 1
tests/TestCase/Error/ExceptionRendererTest.php

@@ -819,7 +819,7 @@ class ExceptionRendererTest extends TestCase {
 
 		$result = $ExceptionRenderer->render()->body();
 
-		$this->assertContains('<h2>Database Error</h2>', $result);
+		$this->assertContains('Database Error', $result);
 		$this->assertContains('There was an error in the SQL query', $result);
 		$this->assertContains(h('SELECT * from poo_query < 5 and :seven'), $result);
 		$this->assertContains("'seven' => (int) 7", $result);