aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php')
-rw-r--r--tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
index 65c65ff1..07e075d4 100644
--- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
@@ -404,9 +404,9 @@ class EntryControllerTest extends WallabagCoreTestCase
404 $this->logInAs('admin'); 404 $this->logInAs('admin');
405 $client = $this->getClient(); 405 $client = $this->getClient();
406 406
407 $client->request('GET', '/with_annotations/list'); 407 $crawler = $client->request('GET', '/annotated/list');
408
409 $this->assertSame(200, $client->getResponse()->getStatusCode()); 408 $this->assertSame(200, $client->getResponse()->getStatusCode());
409 $this->assertCount(2, $crawler->filter('li.entry'));
410 } 410 }
411 411
412 public function testRangeException() 412 public function testRangeException()
@@ -1563,7 +1563,7 @@ class EntryControllerTest extends WallabagCoreTestCase
1563 $this->assertSame(302, $client->getResponse()->getStatusCode()); 1563 $this->assertSame(302, $client->getResponse()->getStatusCode());
1564 $this->assertContains('/view/', $client->getResponse()->getTargetUrl(), 'Untagged random'); 1564 $this->assertContains('/view/', $client->getResponse()->getTargetUrl(), 'Untagged random');
1565 1565
1566 $client->request('GET', '/with_annotations/random'); 1566 $client->request('GET', '/annotated/random');
1567 $this->assertSame(302, $client->getResponse()->getStatusCode()); 1567 $this->assertSame(302, $client->getResponse()->getStatusCode());
1568 $this->assertContains('/view/', $client->getResponse()->getTargetUrl(), 'With annotations random'); 1568 $this->assertContains('/view/', $client->getResponse()->getTargetUrl(), 'With annotations random');
1569 1569