fix autonamenegativelength test

This commit is contained in:
friendica 2012-04-07 01:20:38 -07:00
parent 3a1c78bd75
commit f30146b521
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class AutonameTest extends PHPUnit_Framework_TestCase {
*/ */
public function testAutonameNegativeLength() { public function testAutonameNegativeLength() {
$autoname1=autoname(-23); $autoname1=autoname(-23);
$this->assertEquals(0, count($autoname1)); $this->assertEquals(0, strlen($autoname1));
} }
// public function testAutonameMaxLength() { // public function testAutonameMaxLength() {