aboutsummaryrefslogtreecommitdiffstats
path: root/tests/autoname_test.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-07 01:04:45 -0700
committerfriendica <info@friendica.com>2012-04-07 01:04:45 -0700
commit3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5 (patch)
tree046f9324b3bfae14476992ad2290477097fcb088 /tests/autoname_test.php
parentecabe1d505464577fdc3d3ff0090371c8ca0cf1e (diff)
downloadvolse-hubzilla-3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5.tar.gz
volse-hubzilla-3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5.tar.bz2
volse-hubzilla-3a1c78bd75213e5ed3ad5f5ed4a1349fcf7ce4d5.zip
some work on tests
Diffstat (limited to 'tests/autoname_test.php')
-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 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));
}
/**