From 3be96dcb173f8087009558ba9f6408dc8d0164f9 Mon Sep 17 00:00:00 2001 From: Floran Brutel Date: Thu, 29 Mar 2018 22:58:40 +0200 Subject: Use https instead of http for bild.de to fix tests --- tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Wallabag/CoreBundle') diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php index 12788366..30d16f2c 100644 --- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php @@ -1314,7 +1314,7 @@ class EntryControllerTest extends WallabagCoreTestCase 'fr_FR', ], 'de' => [ - 'http://www.bild.de/politik/ausland/theresa-may/wahlbeben-grossbritannien-analyse-52108924.bild.html', + 'https://www.bild.de/politik/ausland/theresa-may/wahlbeben-grossbritannien-analyse-52108924.bild.html', 'de', ], 'it' => [ -- cgit v1.2.3 From 739a4024fa64ba5412078e01c8ae84628f865f26 Mon Sep 17 00:00:00 2001 From: Floran Brutel Date: Fri, 30 Mar 2018 23:09:03 +0200 Subject: Replace zataz url --- tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/Wallabag/CoreBundle') diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php index 30d16f2c..95482fe4 100644 --- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php @@ -1309,9 +1309,9 @@ class EntryControllerTest extends WallabagCoreTestCase 'https://www.pravda.ru/world/09-06-2017/1337283-qatar-0/', 'ru', ], - 'fr-FR' => [ - 'https://www.zataz.com/90-des-dossiers-medicaux-des-coreens-du-sud-vendus-a-des-entreprises-privees/', - 'fr_FR', + 'fr' => [ + 'https://fr.wikipedia.org/wiki/Wallabag', + 'fr', ], 'de' => [ 'https://www.bild.de/politik/ausland/theresa-may/wahlbeben-grossbritannien-analyse-52108924.bild.html', -- cgit v1.2.3 From 80d4260a8e481861ef13de661e8770b86be6ad78 Mon Sep 17 00:00:00 2001 From: Floran Brutel Date: Sat, 31 Mar 2018 12:55:27 +0200 Subject: Fix CS in UtilsTest.php --- tests/Wallabag/CoreBundle/Tools/UtilsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Wallabag/CoreBundle') diff --git a/tests/Wallabag/CoreBundle/Tools/UtilsTest.php b/tests/Wallabag/CoreBundle/Tools/UtilsTest.php index 347589dc..952d076d 100644 --- a/tests/Wallabag/CoreBundle/Tools/UtilsTest.php +++ b/tests/Wallabag/CoreBundle/Tools/UtilsTest.php @@ -13,7 +13,7 @@ class UtilsTest extends TestCase */ public function testCorrectWordsCountForDifferentLanguages($text, $expectedCount) { - static::assertEquals((float) $expectedCount, Utils::getReadingTime($text)); + static::assertSame((float) $expectedCount, Utils::getReadingTime($text)); } public function examples() -- cgit v1.2.3