Permalink
Browse files

Merge pull request #217 from majna/2.0-test-suite

Fixing failing test.
  • Loading branch information...
2 parents 33030a4 + 8d6fc84 commit 2bce6149e94707811fcc6be75383e28dfdea8314 @renan renan committed Sep 27, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −0 lib/Cake/Test/Case/Routing/RouterTest.php
  2. +1 −1 lib/Cake/Test/Case/Utility/DebuggerTest.php
@@ -2329,6 +2329,7 @@ public function testReverseWithExtension() {
'named' => array(),
'ext' => 'json',
));
+ $request->query = array();
$result = Router::reverse($request);
$expected = '/posts/view/1.json';
$this->assertEquals($expected, $result);
@@ -264,7 +264,7 @@ public function testAddFormatCallback() {
ob_start();
$foo .= '';
$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);
}
/**

0 comments on commit 2bce614

Please sign in to comment.