aboutsummaryrefslogtreecommitdiffstats
path: root/tests/autoname_test.php
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-04-07 18:35:29 +0200
committerMichael Vogel <icarus@dabo.de>2012-04-07 18:35:29 +0200
commitcb05801a9031254f5882038de07a3ee4d5f89dd0 (patch)
tree186d9d1a4c591ec23e0e5bbebd08301143b5c157 /tests/autoname_test.php
parent7308dbae282194356c2e95936aecc15ea059f356 (diff)
parent0fa3b7f348c3deeb85cb5f5f9bd35ba47b0e92ee (diff)
downloadvolse-hubzilla-cb05801a9031254f5882038de07a3ee4d5f89dd0.tar.gz
volse-hubzilla-cb05801a9031254f5882038de07a3ee4d5f89dd0.tar.bz2
volse-hubzilla-cb05801a9031254f5882038de07a3ee4d5f89dd0.zip
Merge commit 'upstream/master'
Diffstat (limited to 'tests/autoname_test.php')
-rw-r--r--[-rwxr-xr-x]tests/autoname_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/autoname_test.php b/tests/autoname_test.php
index 9dae920ca..c83e4a471 100755..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() {