summaryrefslogtreecommitdiff
path: root/spec/contracts/consumer/fixtures/project/pipelines/delete_pipeline.fixture.js
blob: 2e3e7355b99d030e1f929435bfd73cdb3d7f449c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const DeletePipeline = {
  success: {
    status: 200,
    headers: {
      'Content-Type': 'application/json; charset=utf-8',
    },
  },

  scenario: {
    state: 'a pipeline for a project exists',
    uponReceiving: 'a request to delete the pipeline',
  },

  request: {
    method: 'POST',
    path: '/api/graphql',
  },

  variables: {
    id: 'gid://gitlab/Ci::Pipeline/316112',
  },
};

export { DeletePipeline };