Compare commits

..

No commits in common. "fe39a2a0468b7044e2f71acc204a6c07c5069381" and "d7fa53139ffaa1b346362058502f1c9af3884bca" have entirely different histories.

View File

@ -42,14 +42,6 @@ class VersionedMemberAuthenticatorTest extends SapphireTest
return; return;
} }
// Explicity add the Versioned extension to Member, even though it's already in $required_extensions.
// This is done to call `unset(self::class::$extra_methods[strtolower($subclass)]);` in
// Extensible::add_extension() so when CustomMethods::getExtraMethodConfig() updates the $extra_methods
// it will include methods of Versioned such as publishSingle()
// This issue will only occur when running subsequent unit test classes in the same process, rather than this
// this unit test class in isolation
Member::add_extension(Versioned::class);
// Enforce dummy validation (this can otherwise be influenced by recipe config) // Enforce dummy validation (this can otherwise be influenced by recipe config)
PasswordValidator::singleton() PasswordValidator::singleton()
->setMinLength(0) ->setMinLength(0)