]> git.mxchange.org Git - friendica.git/blobdiff - tests/autoname_test.php
rev update, fix autoname test "random" failure
[friendica.git] / tests / autoname_test.php
index c83e4a47112408c45c3b780c108a3a5c84c652e9..702e05befc33ff210cfe3297f07cf0036a408cf5 100644 (file)
@@ -67,7 +67,10 @@ class AutonameTest extends PHPUnit_Framework_TestCase {
                
                $autoname2=autoname(1);\r
                $this->assertEquals(1, count($autoname2));
-               
-               $this->assertFalse($autoname1==$autoname2); \r
+
+               // The following test is problematic, with only 26 possibilities
+               // generating the same thing twice happens often aka
+               // birthday paradox
+//             $this->assertFalse($autoname1==$autoname2); \r
        }
 }
\ No newline at end of file