X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FWallabag%2FCoreBundle%2FHelper%2FRedirectTest.php;h=a2d6a5245e9b20a7d556bf6e6f50bb67441d27d1;hb=65cd8a4a9a1d15d962033f58276005a5f7716f3a;hp=825e8d53f2cb651cee70bfb1f2c9c2329a6b102b;hpb=f052f1fd57e51c8ae5ac17587636d608619a2057;p=github%2Fwallabag%2Fwallabag.git diff --git a/tests/Wallabag/CoreBundle/Helper/RedirectTest.php b/tests/Wallabag/CoreBundle/Helper/RedirectTest.php index 825e8d53..a2d6a524 100644 --- a/tests/Wallabag/CoreBundle/Helper/RedirectTest.php +++ b/tests/Wallabag/CoreBundle/Helper/RedirectTest.php @@ -25,14 +25,14 @@ class RedirectTest extends \PHPUnit_Framework_TestCase { $redirectUrl = $this->redirect->to(null, 'fallback'); - $this->assertEquals('fallback', $redirectUrl); + $this->assertEquals(null, $redirectUrl); } public function testRedirectToNullWithoutFallback() { $redirectUrl = $this->redirect->to(null); - $this->assertEquals($this->routerMock->generate('homepage'), $redirectUrl); + $this->assertEquals(null, $redirectUrl); } public function testRedirectToValidUrl()