Merge pull request #9722 from creative-commoners/pulls/4/fix-versioned-member-auth-tests

FIX Hardcode PasswordValidator config in VersionedMemberAuthenticatorTest
This commit is contained in:
Robbie Averill 2020-10-05 21:39:58 -07:00 committed by GitHub
commit bb7cf17e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -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([]);

View File

@ -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()