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()