Skip to content

Commit f93c396

Browse files
committed
CI: Use "not allowed" instead of "not authorized" in access company reports behat test
1 parent 431a26a commit f93c396

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/behat/features/accessCompanyReports.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ Feature: Access to portal reports as admin
1212
Scenario: Access the company report
1313
Given I am a platform administrator
1414
And I am on "/main/mySpace/company_reports.php"
15-
Then I should not see "not authorized"
15+
Then I should not see "not allowed"
1616

1717
Scenario: Access the resumed version of the company report
1818
Given I am a platform administrator
1919
And I am on "/main/mySpace/company_reports_resumed.php"
20-
Then I should not see "not authorized"
20+
Then I should not see "not allowed"
2121

2222
Scenario: See the company reports link on the admin page
2323
Given I am a platform administrator
@@ -27,7 +27,7 @@ Feature: Access to portal reports as admin
2727
Scenario: See the company reports link on the admin page
2828
Given I am a platform administrator
2929
And I am on "/main/admin/teacher_time_report.php"
30-
Then I should not see "not authorized"
30+
Then I should not see "not allowed"
3131

3232
Scenario: See the company reports link on the admin page
3333
Given I am a platform administrator
@@ -37,4 +37,4 @@ Feature: Access to portal reports as admin
3737
Scenario: See the company reports link on the admin page
3838
Given I am a platform administrator
3939
And I am on "/main/admin/teachers_time_by_session_report.php"
40-
Then I should not see "not authorized"
40+
Then I should not see "not allowed"

0 commit comments

Comments
 (0)