aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorJeremy <jeremy.benoist@gmail.com>2015-03-28 22:15:24 +0100
committerJeremy <jeremy.benoist@gmail.com>2015-03-31 22:48:01 +0200
commit34c06cabef35c292ab938bc1073a0dce6b3721cd (patch)
tree010906cb94b6dcff6db31e7b02353d5c5c8ee5a9 /src/Wallabag
parent0ee043f745fc53d782528128c615aa24a6af1d24 (diff)
downloadwallabag-34c06cabef35c292ab938bc1073a0dce6b3721cd.tar.gz
wallabag-34c06cabef35c292ab938bc1073a0dce6b3721cd.tar.zst
wallabag-34c06cabef35c292ab938bc1073a0dce6b3721cd.zip
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
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php4
-rw-r--r--src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php2
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(