From 34c06cabef35c292ab938bc1073a0dce6b3721cd Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sat, 28 Mar 2015 22:15:24 +0100 Subject: Use lemonde instead of mailjet Mailjet seems to be laggy, hope that LeMonde will be more reliable in the future. @see https://travis-ci.org/wallabag/wallabag/jobs/56246231 --- src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php | 4 ++-- .../CoreBundle/Tests/Controller/WallabagRestControllerTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 $form = $crawler->filter('button[type=submit]')->form(); $data = array( - 'entry[url]' => 'https://www.mailjet.com/blog/mailjet-zapier-integrations-made-easy/', + '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', ); $client->submit($form, $data); @@ -70,7 +70,7 @@ class EntryControllerTest extends WallabagTestCase $crawler = $client->followRedirect(); $this->assertGreaterThan(1, $alert = $crawler->filter('h2 a')->extract(array('_text'))); - $this->assertContains('Mailjet', $alert[0]); + $this->assertContains('Google', $alert[0]); } 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 $this->assertGreaterThanOrEqual(1, count(json_decode($client->getResponse()->getContent()))); - $this->assertContains('Mailjet', $client->getResponse()->getContent()); + $this->assertContains('Google', $client->getResponse()->getContent()); $this->assertTrue( $client->getResponse()->headers->contains( -- cgit v1.2.3