From f30146b521bf079e2651484e0e63f9596d6a3dd6 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 7 Apr 2012 01:20:38 -0700 Subject: [PATCH] fix autonamenegativelength test --- tests/autoname_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.39.5