Skip to content

Commit

Permalink
fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Mar 12, 2014
1 parent 36dee4c commit 69e9838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Controller/ControllerTest.php
Expand Up @@ -579,7 +579,7 @@ public function testReferer() {
$request = $this->getMock('Cake\Network\Request', ['referer']);
$request->expects($this->any())->method('referer')
->with(true)
->will($this->returnValue('/'));
->will($this->returnValue('/posts/index'));
$Controller = new Controller($request);
$result = $Controller->referer(array('controller' => 'posts', 'action' => 'index'), true);
$this->assertEquals('/posts/index', $result);
Expand Down

0 comments on commit 69e9838

Please sign in to comment.