aboutsummaryrefslogtreecommitdiffstats
path: root/tests/autoname_test.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-26 01:33:41 -0700
committerfriendica <info@friendica.com>2012-04-26 01:33:41 -0700
commit78579627ce76178d430a9a81db393c1c0eeb3445 (patch)
tree6cf8bf561666b37d334b31e96d163a62dcf799c5 /tests/autoname_test.php
parentc9e5609cbfd89db35b536a22eb2ce6cbf7992783 (diff)
downloadvolse-hubzilla-78579627ce76178d430a9a81db393c1c0eeb3445.tar.gz
volse-hubzilla-78579627ce76178d430a9a81db393c1c0eeb3445.tar.bz2
volse-hubzilla-78579627ce76178d430a9a81db393c1c0eeb3445.zip
rev update, fix autoname test "random" failure
Diffstat (limited to 'tests/autoname_test.php')
-rw-r--r--tests/autoname_test.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/autoname_test.php b/tests/autoname_test.php
index c83e4a471..702e05bef 100644
--- a/tests/autoname_test.php
+++ b/tests/autoname_test.php
@@ -67,7 +67,10 @@ class AutonameTest extends PHPUnit_Framework_TestCase {
$autoname2=autoname(1);
$this->assertEquals(1, count($autoname2));
-
- $this->assertFalse($autoname1==$autoname2);
+
+ // The following test is problematic, with only 26 possibilities
+ // generating the same thing twice happens often aka
+ // birthday paradox
+// $this->assertFalse($autoname1==$autoname2);
}
} \ No newline at end of file