rev update, fix autoname test "random" failure
This commit is contained in:
parent
c9e5609cbf
commit
78579627ce
3 changed files with 40 additions and 37 deletions
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue