Skip to content

Commit

Permalink
Fix permission update call
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusbsilva137 committed Apr 29, 2024
1 parent dc30a26 commit 519946e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/tests/end-to-end/api/02-channels.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ describe('[Channels]', function () {

it('should be succesful when user does NOT have the permission to view joined rooms, but can view channels', async () => {
await updatePermission('view-c-room', ['admin']);
await updatePermission('view-joined-room');
await updatePermission('view-joined-room', []);
await request
.get(api('channels.list'))
.set(credentials)
Expand Down

0 comments on commit 519946e

Please sign in to comment.