diff --git a/tests/behat/features/revoke.feature b/tests/behat/features/revoke.feature index 2a69054..e6c79f5 100644 --- a/tests/behat/features/revoke.feature +++ b/tests/behat/features/revoke.feature @@ -6,7 +6,8 @@ Feature: See other devices and revoke their access So that I can revoke their access Background: - Given a "group" "AUTHOR" has permissions "Access to 'Pages' section" + Given I add an extension "SilverStripe\BehatExtension\Extensions\ActivateSudoModeServiceExtension" to the "SilverStripe\Security\SudoMode\SudoModeService" class + And a "group" "AUTHOR" has permissions "Access to 'Pages' section" And I am logged in as a member of "AUTHOR" group # Create a mock login session And There is a login session for a second device