diff options
Diffstat (limited to 'tests')
-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 2987c8386..c83e4a471 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() {
|