diff options
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php | 4 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php index 99a3a945..1a0d586c 100644 --- a/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php +++ b/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php | |||
@@ -60,7 +60,7 @@ class EntryControllerTest extends WallabagTestCase | |||
60 | $form = $crawler->filter('button[type=submit]')->form(); | 60 | $form = $crawler->filter('button[type=submit]')->form(); |
61 | 61 | ||
62 | $data = array( | 62 | $data = array( |
63 | 'entry[url]' => 'https://www.mailjet.com/blog/mailjet-zapier-integrations-made-easy/', | 63 | 'entry[url]' => 'http://www.lemonde.fr/pixels/article/2015/03/28/plongee-dans-l-univers-d-ingress-le-jeu-de-google-aux-frontieres-du-reel_4601155_4408996.html', |
64 | ); | 64 | ); |
65 | 65 | ||
66 | $client->submit($form, $data); | 66 | $client->submit($form, $data); |
@@ -70,7 +70,7 @@ class EntryControllerTest extends WallabagTestCase | |||
70 | $crawler = $client->followRedirect(); | 70 | $crawler = $client->followRedirect(); |
71 | 71 | ||
72 | $this->assertGreaterThan(1, $alert = $crawler->filter('h2 a')->extract(array('_text'))); | 72 | $this->assertGreaterThan(1, $alert = $crawler->filter('h2 a')->extract(array('_text'))); |
73 | $this->assertContains('Mailjet', $alert[0]); | 73 | $this->assertContains('Google', $alert[0]); |
74 | } | 74 | } |
75 | 75 | ||
76 | public function testArchive() | 76 | public function testArchive() |
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php index 0eca7cde..c9907065 100644 --- a/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php +++ b/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php | |||
@@ -105,7 +105,7 @@ class WallabagRestControllerTest extends WallabagTestCase | |||
105 | 105 | ||
106 | $this->assertGreaterThanOrEqual(1, count(json_decode($client->getResponse()->getContent()))); | 106 | $this->assertGreaterThanOrEqual(1, count(json_decode($client->getResponse()->getContent()))); |
107 | 107 | ||
108 | $this->assertContains('Mailjet', $client->getResponse()->getContent()); | 108 | $this->assertContains('Google', $client->getResponse()->getContent()); |
109 | 109 | ||
110 | $this->assertTrue( | 110 | $this->assertTrue( |
111 | $client->getResponse()->headers->contains( | 111 | $client->getResponse()->headers->contains( |