Skip to content

Commit

Permalink
Fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Apr 10, 2024
1 parent 724ba8e commit 0c163e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ export default function createUpdateTests({ getService }: FtrProviderContext) {
switch (scenario.id) {
case 'superuser at space1':
case 'global_read at space1':
case 'system_actions at space1':
expect(response.body).to.eql({ rules: [], skipped: [], errors: [], total: 0 });
expect(response.statusCode).to.eql(200);
break;
Expand All @@ -600,7 +601,6 @@ export default function createUpdateTests({ getService }: FtrProviderContext) {
case 'space_1_all at space1':
case 'space_1_all_alerts_none_actions at space1':
case 'space_1_all_with_restricted_fixture at space1':
case 'system_actions at space1':
expect(response.body).to.eql({
error: 'Forbidden',
message: 'Unauthorized to find rules for any rule types',
Expand Down

0 comments on commit 0c163e0

Please sign in to comment.