diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2018-04-01 11:12:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-01 11:12:32 +0200 |
commit | 3b46d0f947958e05c55bb10a817e94a860cda6ef (patch) | |
tree | 0085e28cf7bc1103d33ade2de4c13def4f871da7 /tests/Wallabag/CoreBundle | |
parent | 727880c950d485293e480b5b835a0490be4f0ce7 (diff) | |
parent | 80d4260a8e481861ef13de661e8770b86be6ad78 (diff) | |
download | wallabag-3b46d0f947958e05c55bb10a817e94a860cda6ef.tar.gz wallabag-3b46d0f947958e05c55bb10a817e94a860cda6ef.tar.zst wallabag-3b46d0f947958e05c55bb10a817e94a860cda6ef.zip |
Merge pull request #3619 from notFloran/fix-tests
Fix tests
Diffstat (limited to 'tests/Wallabag/CoreBundle')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | 8 | ||||
-rw-r--r-- | tests/Wallabag/CoreBundle/Tools/UtilsTest.php | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php index 12788366..95482fe4 100644 --- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | |||
@@ -1309,12 +1309,12 @@ class EntryControllerTest extends WallabagCoreTestCase | |||
1309 | 'https://www.pravda.ru/world/09-06-2017/1337283-qatar-0/', | 1309 | 'https://www.pravda.ru/world/09-06-2017/1337283-qatar-0/', |
1310 | 'ru', | 1310 | 'ru', |
1311 | ], | 1311 | ], |
1312 | 'fr-FR' => [ | 1312 | 'fr' => [ |
1313 | 'https://www.zataz.com/90-des-dossiers-medicaux-des-coreens-du-sud-vendus-a-des-entreprises-privees/', | 1313 | 'https://fr.wikipedia.org/wiki/Wallabag', |
1314 | 'fr_FR', | 1314 | 'fr', |
1315 | ], | 1315 | ], |
1316 | 'de' => [ | 1316 | 'de' => [ |
1317 | 'http://www.bild.de/politik/ausland/theresa-may/wahlbeben-grossbritannien-analyse-52108924.bild.html', | 1317 | 'https://www.bild.de/politik/ausland/theresa-may/wahlbeben-grossbritannien-analyse-52108924.bild.html', |
1318 | 'de', | 1318 | 'de', |
1319 | ], | 1319 | ], |
1320 | 'it' => [ | 1320 | 'it' => [ |
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 | |||
13 | */ | 13 | */ |
14 | public function testCorrectWordsCountForDifferentLanguages($text, $expectedCount) | 14 | public function testCorrectWordsCountForDifferentLanguages($text, $expectedCount) |
15 | { | 15 | { |
16 | static::assertEquals((float) $expectedCount, Utils::getReadingTime($text)); | 16 | static::assertSame((float) $expectedCount, Utils::getReadingTime($text)); |
17 | } | 17 | } |
18 | 18 | ||
19 | public function examples() | 19 | public function examples() |