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
This commit is contained in:
Jeremy 2015-03-28 22:15:24 +01:00
parent 0ee043f745
commit 34c06cabef
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ class EntryControllerTest extends WallabagTestCase
$form = $crawler->filter('button[type=submit]')->form(); $form = $crawler->filter('button[type=submit]')->form();
$data = array( $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); $client->submit($form, $data);
@ -70,7 +70,7 @@ class EntryControllerTest extends WallabagTestCase
$crawler = $client->followRedirect(); $crawler = $client->followRedirect();
$this->assertGreaterThan(1, $alert = $crawler->filter('h2 a')->extract(array('_text'))); $this->assertGreaterThan(1, $alert = $crawler->filter('h2 a')->extract(array('_text')));
$this->assertContains('Mailjet', $alert[0]); $this->assertContains('Google', $alert[0]);
} }
public function testArchive() public function testArchive()

View File

@ -105,7 +105,7 @@ class WallabagRestControllerTest extends WallabagTestCase
$this->assertGreaterThanOrEqual(1, count(json_decode($client->getResponse()->getContent()))); $this->assertGreaterThanOrEqual(1, count(json_decode($client->getResponse()->getContent())));
$this->assertContains('Mailjet', $client->getResponse()->getContent()); $this->assertContains('Google', $client->getResponse()->getContent());
$this->assertTrue( $this->assertTrue(
$client->getResponse()->headers->contains( $client->getResponse()->headers->contains(