summaryrefslogtreecommitdiff
path: root/spec/frontend/api_spec.js
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-13 12:09:16 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-13 12:09:16 +0000
commit3af8411113c5db18d29fa0102db27080c3a1b766 (patch)
treeab2b6bd3905afd75c961519d69a21b51fcd46b85 /spec/frontend/api_spec.js
parente25ee76ededbc526b860a6da3c2aed4bda47c306 (diff)
downloadgitlab-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.js14
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';