mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Fix failing test caused by changes in debug().
This commit is contained in:
parent
7b9acc5c16
commit
0bb9f3f99e
1 changed files with 4 additions and 4 deletions
|
@ -658,9 +658,9 @@ class ExceptionRendererTest extends CakeTestCase {
|
|||
$ExceptionRenderer->render();
|
||||
$result = ob_get_clean();
|
||||
|
||||
$this->assertPattern('/<h2>Database Error<\/h2>/', $result);
|
||||
$this->assertPattern('/There was an error in the SQL query/', $result);
|
||||
$this->assertPattern('/SELECT \* from poo_query < 5 and :seven/', $result);
|
||||
$this->assertPattern('/"seven" => 7/', $result);
|
||||
$this->assertContains('<h2>Database Error</h2>', $result);
|
||||
$this->assertContains('There was an error in the SQL query', $result);
|
||||
$this->assertContains('SELECT * from poo_query < 5 and :seven', $result);
|
||||
$this->assertContains("'seven' => (int) 7", $result);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue