mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Hardcode PasswordValidator config in VersionedMemberAuthenticatorTest
This commit is contained in:
parent
544b137328
commit
198b25c900
@ -46,6 +46,7 @@ class MemberAuthenticatorTest extends SapphireTest
|
||||
}
|
||||
DefaultAdminService::setDefaultAdmin('admin', 'password');
|
||||
|
||||
// Enforce dummy validation (this can otherwise be influenced by recipe config)
|
||||
PasswordValidator::singleton()
|
||||
->setMinLength(0)
|
||||
->setTestNames([]);
|
||||
|
@ -44,6 +44,11 @@ class VersionedMemberAuthenticatorTest extends SapphireTest
|
||||
$this->markTestSkipped("Versioned is required");
|
||||
return;
|
||||
}
|
||||
|
||||
// Enforce dummy validation (this can otherwise be influenced by recipe config)
|
||||
PasswordValidator::singleton()
|
||||
->setMinLength(0)
|
||||
->setTestNames([]);
|
||||
}
|
||||
|
||||
protected function tearDown()
|
||||
|
Loading…
Reference in New Issue
Block a user