use strlen instead of count(php7.2 fails)

This commit is contained in:
Tobias Diekershoff 2018-04-23 09:37:56 +02:00
parent 6e313736f4
commit bcc298204e

View File

@ -67,7 +67,7 @@ class TextTest extends \PHPUnit\Framework\TestCase
$this->assertEquals(1, strlen($autoname1)); $this->assertEquals(1, strlen($autoname1));
$autoname2=autoname(1); $autoname2=autoname(1);
$this->assertEquals(1, count($autoname2)); $this->assertEquals(1, strlen($autoname2));
} }
/** /**