aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-07 01:20:38 -0700
committerfriendica <info@friendica.com>2012-04-07 01:20:38 -0700
commitf30146b521bf079e2651484e0e63f9596d6a3dd6 (patch)
tree3c8a8f81b415abd303dd1801bf0a8c4b0b64f70d
parent3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5 (diff)
downloadvolse-hubzilla-f30146b521bf079e2651484e0e63f9596d6a3dd6.tar.gz
volse-hubzilla-f30146b521bf079e2651484e0e63f9596d6a3dd6.tar.bz2
volse-hubzilla-f30146b521bf079e2651484e0e63f9596d6a3dd6.zip
fix autonamenegativelength test
-rw-r--r--tests/autoname_test.php2
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() {