mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-29 20:41:03 +00:00
Fix tests
This commit is contained in:
parent
9160c4e713
commit
7ec0c9f844
2 changed files with 2 additions and 2 deletions
|
@ -1641,7 +1641,7 @@ class EntryControllerTest extends WallabagCoreTestCase
|
|||
|
||||
$client->request('GET', '/annotated/random');
|
||||
$this->assertSame(302, $client->getResponse()->getStatusCode());
|
||||
$this->assertContains('/view/', $client->getResponse()->getTargetUrl(), 'With annotations random');
|
||||
$this->assertStringContainsString('/view/', $client->getResponse()->getTargetUrl(), 'With annotations random');
|
||||
|
||||
$client->request('GET', '/all/random');
|
||||
$this->assertSame(302, $client->getResponse()->getStatusCode());
|
||||
|
|
|
@ -120,7 +120,7 @@ class DeliciousControllerTest extends WallabagCoreTestCase
|
|||
|
||||
$this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content);
|
||||
|
||||
$tags = $content->getTags();
|
||||
$tags = $content->getTagsLabel();
|
||||
$this->assertContains('osx', $tags, 'It includes the "osx" tag');
|
||||
$this->assertGreaterThanOrEqual(4, \count($tags));
|
||||
|
||||
|
|
Loading…
Reference in a new issue