diff --git a/tests/Wallabag/ImportBundle/Controller/PocketHtmlControllerTest.php b/tests/Wallabag/ImportBundle/Controller/PocketHtmlControllerTest.php index 7ae4a247f..b55f8125b 100644 --- a/tests/Wallabag/ImportBundle/Controller/PocketHtmlControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/PocketHtmlControllerTest.php @@ -132,14 +132,14 @@ class PocketHtmlControllerTest extends WallabagCoreTestCase ->get(EntityManagerInterface::class) ->getRepository(Entry::class) ->findByUrlAndUserId( - 'https://www.lemonde.fr/disparitions/article/2018/07/05/le-journaliste-et-cineaste-claude-lanzmann-est-mort_5326313_3382.html', + 'https://www.20minutes.fr/paris/4100740-20240715-jo-paris-2024-courir-capitale-maintenant-quais-fermes', $this->getLoggedInUserId() ); $this->assertInstanceOf(Entry::class, $content); - $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://www.lemonde.fr is ok'); - $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://www.lemonde.fr is ok'); - $this->assertNotEmpty($content->getLanguage(), 'Language for https://www.lemonde.fr is ok'); + $this->assertNotEmpty($content->getMimetype(), 'Mimetype for 20minutes.fr is ok'); + $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for 20minutes.fr is ok'); + $this->assertNotEmpty($content->getLanguage(), 'Language for 20minutes.fr is ok'); } public function testImportWallabagWithEmptyFile() diff --git a/tests/Wallabag/ImportBundle/Controller/ShaarliControllerTest.php b/tests/Wallabag/ImportBundle/Controller/ShaarliControllerTest.php index 8bc9ffb9d..d91680158 100644 --- a/tests/Wallabag/ImportBundle/Controller/ShaarliControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/ShaarliControllerTest.php @@ -132,14 +132,14 @@ class ShaarliControllerTest extends WallabagCoreTestCase ->get(EntityManagerInterface::class) ->getRepository(Entry::class) ->findByUrlAndUserId( - 'https://www.lemonde.fr/disparitions/article/2018/07/05/le-journaliste-et-cineaste-claude-lanzmann-est-mort_5326313_3382.html', + 'https://www.20minutes.fr/paris/4100740-20240715-jo-paris-2024-courir-capitale-maintenant-quais-fermes', $this->getLoggedInUserId() ); $this->assertInstanceOf(Entry::class, $content); - $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://www.lemonde.fr is ok'); - $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://www.lemonde.fr is ok'); - $this->assertNotEmpty($content->getLanguage(), 'Language for https://www.lemonde.fr is ok'); + $this->assertNotEmpty($content->getMimetype(), 'Mimetype for 20minutes.fr is ok'); + $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for 20minutes.fr is ok'); + $this->assertNotEmpty($content->getLanguage(), 'Language for 20minutes.fr is ok'); } public function testImportWallabagWithEmptyFile() diff --git a/tests/Wallabag/ImportBundle/fixtures/ril_export.html b/tests/Wallabag/ImportBundle/fixtures/ril_export.html index 310c092dc..73ddfc0bd 100644 --- a/tests/Wallabag/ImportBundle/fixtures/ril_export.html +++ b/tests/Wallabag/ImportBundle/fixtures/ril_export.html @@ -9,7 +9,7 @@