diff options
Diffstat (limited to 'tests/autoname_test.php')
-rw-r--r-- | tests/autoname_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/autoname_test.php b/tests/autoname_test.php index 9dae920ca..c83e4a471 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));
}
/** @@ -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() {
|