From: friendica Date: Sat, 7 Apr 2012 08:20:38 +0000 (-0700) Subject: fix autonamenegativelength test X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f30146b521bf079e2651484e0e63f9596d6a3dd6;p=friendica.git fix autonamenegativelength test --- diff --git a/tests/autoname_test.php b/tests/autoname_test.php index 2987c83869..c83e4a4711 100644 --- a/tests/autoname_test.php +++ b/tests/autoname_test.php @@ -50,7 +50,7 @@ class AutonameTest extends PHPUnit_Framework_TestCase { */ public function testAutonameNegativeLength() { $autoname1=autoname(-23); - $this->assertEquals(0, count($autoname1)); + $this->assertEquals(0, strlen($autoname1)); } // public function testAutonameMaxLength() {