2
0
forked from Wavyzz/dolibarr

Fix phpunit

This commit is contained in:
Laurent Destailleur
2021-04-19 20:25:22 +02:00
parent d1fb1e4fea
commit 2578eb276c

View File

@@ -614,9 +614,9 @@ class SecurityTest extends PHPUnit\Framework\TestCase
$this->assertEquals($genpass2, '');
$conf->global->USER_PASSWORD_GENERATED='Standard';
$genpass3=getRandomPassword(false); // Should return a password of 10 chars
$genpass3=getRandomPassword(false); // Should return a password of 12 chars
print __METHOD__." genpass3=".$genpass3."\n";
$this->assertEquals(strlen($genpass3), 10);
$this->assertEquals(strlen($genpass3), 12);
return 0;
}