Compare commits

..

No commits in common. "16cb2702af54a9f7f9bcd84abad02484e01f203f" and "165f72fd222daa8f93a494cdad7d9ef66ffa20d1" have entirely different histories.

View File

@ -43,14 +43,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)
Deprecation::withSuppressedNotice( Deprecation::withSuppressedNotice(
fn() => PasswordValidator::singleton() fn() => PasswordValidator::singleton()