]> git.mxchange.org Git - friendica.git/commitdiff
use strlen instead of count(php7.2 fails)
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 23 Apr 2018 07:37:56 +0000 (09:37 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 23 Apr 2018 07:37:56 +0000 (09:37 +0200)
tests/TextTest.php

index 5b2b84bd74885a3cb0591a5d942e52f00990ad0f..3cda2342f36b88aa36f7a5ff1759fed4ddc23b67 100644 (file)
@@ -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));
        }
 
        /**