diff options
author | friendica <info@friendica.com> | 2012-04-07 01:20:38 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-07 01:20:38 -0700 |
commit | f30146b521bf079e2651484e0e63f9596d6a3dd6 (patch) | |
tree | 3c8a8f81b415abd303dd1801bf0a8c4b0b64f70d /tests/autoname_test.php | |
parent | 3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5 (diff) | |
download | volse-hubzilla-f30146b521bf079e2651484e0e63f9596d6a3dd6.tar.gz volse-hubzilla-f30146b521bf079e2651484e0e63f9596d6a3dd6.tar.bz2 volse-hubzilla-f30146b521bf079e2651484e0e63f9596d6a3dd6.zip |
fix autonamenegativelength test
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 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() {
|