From: Tobias Diekershoff Date: Mon, 23 Apr 2018 07:37:56 +0000 (+0200) Subject: use strlen instead of count(php7.2 fails) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bcc298204e5c28be9ca49cc858c46f2ee80ad9a5;p=friendica.git use strlen instead of count(php7.2 fails) --- diff --git a/tests/TextTest.php b/tests/TextTest.php index 5b2b84bd74..3cda2342f3 100644 --- a/tests/TextTest.php +++ b/tests/TextTest.php @@ -67,7 +67,7 @@ class TextTest extends \PHPUnit\Framework\TestCase $this->assertEquals(1, strlen($autoname1)); $autoname2=autoname(1); - $this->assertEquals(1, count($autoname2)); + $this->assertEquals(1, strlen($autoname2)); } /**