diff options
Diffstat (limited to 'tests/Wallabag/CoreBundle/Helper')
-rw-r--r-- | tests/Wallabag/CoreBundle/Helper/RedirectTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
25 | { | 25 | { |
26 | $redirectUrl = $this->redirect->to(null, 'fallback'); | 26 | $redirectUrl = $this->redirect->to(null, 'fallback'); |
27 | 27 | ||
28 | $this->assertEquals('fallback', $redirectUrl); | 28 | $this->assertEquals(null, $redirectUrl); |
29 | } | 29 | } |
30 | 30 | ||
31 | public function testRedirectToNullWithoutFallback() | 31 | public function testRedirectToNullWithoutFallback() |
32 | { | 32 | { |
33 | $redirectUrl = $this->redirect->to(null); | 33 | $redirectUrl = $this->redirect->to(null); |
34 | 34 | ||
35 | $this->assertEquals($this->routerMock->generate('homepage'), $redirectUrl); | 35 | $this->assertEquals(null, $redirectUrl); |
36 | } | 36 | } |
37 | 37 | ||
38 | public function testRedirectToValidUrl() | 38 | public function testRedirectToValidUrl() |