diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-13 12:09:16 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-13 12:09:16 +0000 |
commit | 3af8411113c5db18d29fa0102db27080c3a1b766 (patch) | |
tree | ab2b6bd3905afd75c961519d69a21b51fcd46b85 /spec/frontend/api_spec.js | |
parent | e25ee76ededbc526b860a6da3c2aed4bda47c306 (diff) | |
download | gitlab-ce-3af8411113c5db18d29fa0102db27080c3a1b766.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/api_spec.js')
-rw-r--r-- | spec/frontend/api_spec.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/frontend/api_spec.js b/spec/frontend/api_spec.js index a03aabf9e4f..d6e1b170dd3 100644 --- a/spec/frontend/api_spec.js +++ b/spec/frontend/api_spec.js @@ -352,20 +352,6 @@ describe('Api', () => { }); }); - describe('projectGroups', () => { - it('fetches a project group', async () => { - const options = { unused: 'option' }; - const projectId = 1; - const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/projects/${projectId}/groups.json`; - mock.onGet(expectedUrl, { params: options }).reply(httpStatus.OK, { - name: 'test', - }); - - const { name } = await Api.projectGroups(projectId, options); - expect(name).toBe('test'); - }); - }); - describe('projectUsers', () => { it('fetches all users of a particular project', (done) => { const query = 'dummy query'; |