Skip to content

Commit

Permalink
Remove message from assertSame
Browse files Browse the repository at this point in the history
  • Loading branch information
Iandenh committed Sep 19, 2018
1 parent d755924 commit 1196788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Routing/Route/RedirectRouteTest.php
Expand Up @@ -246,7 +246,7 @@ public function testSetStatus()
{
$route = new RedirectRoute('/home', ['controller' => 'posts']);
$result = $route->setStatus(302);
$this->assertSame($result, $route, 'Should return this');
$this->assertSame($result, $route);
$this->assertEquals(302, $route->options['status']);
}
}

0 comments on commit 1196788

Please sign in to comment.