From 5b6888b13fd44705a232261862a5cc96cebd0a7d Mon Sep 17 00:00:00 2001 From: Andrew Kovalyov Date: Mon, 28 Nov 2016 01:15:06 +0200 Subject: Fix incorrect reading time calculation for entries in languages with non-latin chars subset. --- tests/Wallabag/CoreBundle/Tools/UtilsTest.php | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/Wallabag/CoreBundle/Tools/UtilsTest.php (limited to 'tests/Wallabag/CoreBundle/Tools/UtilsTest.php') diff --git a/tests/Wallabag/CoreBundle/Tools/UtilsTest.php b/tests/Wallabag/CoreBundle/Tools/UtilsTest.php new file mode 100644 index 00000000..435c25ca --- /dev/null +++ b/tests/Wallabag/CoreBundle/Tools/UtilsTest.php @@ -0,0 +1,28 @@ +in(__DIR__.'/samples'); + foreach ($finder->getIterator() as $file) { + $examples[] = [$file->getContents(), 1]; + } + + return $examples; + } +} -- cgit v1.2.3