]> git.mxchange.org Git - friendica.git/blobdiff - tests/autoname_test.php
some work on tests
[friendica.git] / tests / autoname_test.php
index 9dae920ca29eba21d54a3daee566dcad061950d0..2987c83869611ee2e9c6d39e27e8177ba9e88f65 100644 (file)
@@ -40,7 +40,7 @@ class AutonameTest extends PHPUnit_Framework_TestCase {
         */\r
        public function testAutonameNoLength() {\r
                $autoname1=autoname(0);\r
-               $this->assertEquals(0, count($autoname1));\r
+               $this->assertEquals(0, strlen($autoname1));\r
        }\r
        
        /**