Fix unrelated failing test

LExpansion is down ATM.
Use a website which isn't down randomly.
This commit is contained in:
Jeremy Benoist 2022-10-17 21:49:03 +02:00
parent 7b150dcd26
commit d4b0b62bb5
No known key found for this signature in database
GPG key ID: 7168D5DD29F38552
2 changed files with 6 additions and 6 deletions

View file

@ -114,14 +114,14 @@ class FirefoxControllerTest extends WallabagCoreTestCase
->get('doctrine.orm.entity_manager') ->get('doctrine.orm.entity_manager')
->getRepository('WallabagCoreBundle:Entry') ->getRepository('WallabagCoreBundle:Entry')
->findByUrlAndUserId( ->findByUrlAndUserId(
'https://lexpansion.lexpress.fr/high-tech/orange-offre-un-meilleur-reseau-mobile-que-bouygues-et-sfr-free-derriere_1811554.html', 'https://www.20minutes.fr/sport/4002755-20220928-tarn-lapins-ravagent-terrain-match-rugby-doit-etre-annule',
$this->getLoggedInUserId() $this->getLoggedInUserId()
); );
$this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content); $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content);
$this->assertNotEmpty($content->getMimetype(), 'Mimetype for http://lexpansion.lexpress.fr is ok'); $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://www.20minutes.fr is ok');
$this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for http://lexpansion.lexpress.fr is ok'); $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://www.20minutes.fr is ok');
$this->assertNotEmpty($content->getLanguage(), 'Language for http://lexpansion.lexpress.fr is ok'); $this->assertNotEmpty($content->getLanguage(), 'Language for https://www.20minutes.fr is ok');
$this->assertCount(3, $content->getTags()); $this->assertCount(3, $content->getTags());
$content = $client->getContainer() $content = $client->getContainer()

View file

@ -28,14 +28,14 @@
"children": [ "children": [
{ {
"guid": "tard77lzbC5H", "guid": "tard77lzbC5H",
"title": "Orange offre un meilleur réseau mobile que Bouygues et SFR, Free derrière - L'Express L'Expansion", "title": "Tarn : Des lapins ravagent le terrain, le match de rugby doit être annulé",
"index": 1, "index": 1,
"dateAdded": 1388166091644000, "dateAdded": 1388166091644000,
"lastModified": 1388166091644000, "lastModified": 1388166091644000,
"tags": "test,tag", "tags": "test,tag",
"id": 4, "id": 4,
"type": "text/x-moz-place", "type": "text/x-moz-place",
"uri": "http://lexpansion.lexpress.fr/high-tech/orange-offre-un-meilleur-reseau-mobile-que-bouygues-et-sfr-free-derriere_1811554.html" "uri": "https://www.20minutes.fr/sport/4002755-20220928-tarn-lapins-ravagent-terrain-match-rugby-doit-etre-annule"
}, },
{ {
"guid": "E385l9vZ_LVn", "guid": "E385l9vZ_LVn",