-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from creative-commoners/pulls/2/review-behat-t…
…ests ENH Replace ADMIN permissions with less permissions in Behat test
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,10 @@ Feature: Security report | |
I want to use the security report | ||
|
||
Background: | ||
Given the "group" "EDITOR group" has permissions "CMS_ACCESS_LeftAndMain" and "FILE_EDIT_ALL" | ||
Given the "group" "EDITOR" has permissions "CMS_ACCESS_LeftAndMain" and "FILE_EDIT_ALL" | ||
|
||
# Login as EDITOR to create member | ||
And I am logged in with "EDITOR" permissions | ||
And I am logged in as a member of "EDITOR" group | ||
|
||
# Logout and login again as ADMIN | ||
And I go to "/Security/login" | ||
|
@@ -31,7 +31,7 @@ Feature: Security report | |
And I should see "[email protected]" | ||
|
||
# Groups column | ||
And I should see "EDITOR group (global group)" | ||
And I should see "EDITOR (global group)" | ||
|
||
# Permissions column | ||
Then I should see "Edit any file" | ||
|