mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
commit
2bce6149e9
2 changed files with 2 additions and 1 deletions
|
@ -2329,6 +2329,7 @@ class RouterTest extends CakeTestCase {
|
||||||
'named' => array(),
|
'named' => array(),
|
||||||
'ext' => 'json',
|
'ext' => 'json',
|
||||||
));
|
));
|
||||||
|
$request->query = array();
|
||||||
$result = Router::reverse($request);
|
$result = Router::reverse($request);
|
||||||
$expected = '/posts/view/1.json';
|
$expected = '/posts/view/1.json';
|
||||||
$this->assertEquals($expected, $result);
|
$this->assertEquals($expected, $result);
|
||||||
|
|
|
@ -264,7 +264,7 @@ class DebuggerTest extends CakeTestCase {
|
||||||
ob_start();
|
ob_start();
|
||||||
$foo .= '';
|
$foo .= '';
|
||||||
$result = ob_get_clean();
|
$result = ob_get_clean();
|
||||||
$this->assertEquals('Notice: I eated an error CORE/Cake/Test/Case/Utility/DebuggerTest.php', $result);
|
$this->assertEquals('Notice: I eated an error ' . 'CORE' . DS . ltrim(__FILE__, CAKE_CORE_INCLUDE_PATH), $result);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue