Skip to content

Commit

Permalink
chore!: Improve permissions check on settings endpoints (#32350)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusbsilva137 authored and rodrigok committed Jul 18, 2024
1 parent bb8de40 commit e33d581
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/meteor/tests/end-to-end/api/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ import type { LoginServiceConfiguration } from '@rocket.chat/core-typings';
import { expect } from 'chai';
import { before, describe, it, after } from 'mocha';

import { getCredentials, api, request, credentials } from '../../data/api-data';
import { getCredentials, api, request, credentials } from '../../data/api-data.js';
import { updatePermission, updateSetting } from '../../data/permissions.helper';

describe('[Settings]', function () {
this.retries(0);

describe('[Settings]', () => {
before((done) => getCredentials(done));

Expand Down

0 comments on commit e33d581

Please sign in to comment.