diff options
Diffstat (limited to 'tests/autoname_test.php')
-rw-r--r-- | tests/autoname_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/autoname_test.php b/tests/autoname_test.php index 9dae920ca..2987c8386 100644 --- a/tests/autoname_test.php +++ b/tests/autoname_test.php @@ -40,7 +40,7 @@ class AutonameTest extends PHPUnit_Framework_TestCase { */
public function testAutonameNoLength() {
$autoname1=autoname(0);
- $this->assertEquals(0, count($autoname1));
+ $this->assertEquals(0, strlen($autoname1));
}
/** |