From 78579627ce76178d430a9a81db393c1c0eeb3445 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 26 Apr 2012 01:33:41 -0700 Subject: rev update, fix autoname test "random" failure --- tests/autoname_test.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3