X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FWallabag%2FCoreBundle%2FTools%2FUtilsTest.php;h=952d076d1b7c0f7a208fd561fb75a6d4da44ae11;hb=refs%2Fpull%2F3619%2Fhead;hp=4521e485b1509c78cbc33994ff43d9c541acfb06;hpb=f808b01692a835673f328d7221ba8c212caa9b61;p=github%2Fwallabag%2Fwallabag.git diff --git a/tests/Wallabag/CoreBundle/Tools/UtilsTest.php b/tests/Wallabag/CoreBundle/Tools/UtilsTest.php index 4521e485..952d076d 100644 --- a/tests/Wallabag/CoreBundle/Tools/UtilsTest.php +++ b/tests/Wallabag/CoreBundle/Tools/UtilsTest.php @@ -2,17 +2,18 @@ namespace Tests\Wallabag\CoreBundle\Tools; +use PHPUnit\Framework\TestCase; use Symfony\Component\Finder\Finder; use Wallabag\CoreBundle\Tools\Utils; -class UtilsTest extends \PHPUnit_Framework_TestCase +class UtilsTest extends TestCase { /** * @dataProvider examples */ public function testCorrectWordsCountForDifferentLanguages($text, $expectedCount) { - static::assertEquals((float) $expectedCount, Utils::getReadingTime($text)); + static::assertSame((float) $expectedCount, Utils::getReadingTime($text)); } public function examples()