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 @@

Unread

diff --git a/tests/Wallabag/ImportBundle/fixtures/shaarli-bookmarks.html b/tests/Wallabag/ImportBundle/fixtures/shaarli-bookmarks.html index ad401ea74..073fdd470 100644 --- a/tests/Wallabag/ImportBundle/fixtures/shaarli-bookmarks.html +++ b/tests/Wallabag/ImportBundle/fixtures/shaarli-bookmarks.html @@ -8,6 +8,6 @@

The Legacy of Firefox OS. In the two years or so since Mozilla… | by Ben Francis | Medium
In the two years or so since Mozilla announced the end of Firefox OS as a Mozilla-run project, the B2G source code has found its way into a surprising number of commercial products. -
Template Filters — Eleventy +
JO Paris 2024 : Où courir dans la capitale maintenant que les quais sont fermés ?