mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 03:21:01 +00:00
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:
parent
0ee043f745
commit
34c06cabef
2 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue