Skip to content

Commit

Permalink
Merge pull request #232 from creative-commoners/pulls/2/form-sudo-mode
Browse files Browse the repository at this point in the history
MNT Update behat test for sudo mode
  • Loading branch information
GuySartorelli authored Feb 20, 2025
2 parents 120b612 + d1f7dbf commit 04b37e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/behat/features/revoke.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04b37e1

Please sign in to comment.