Commit 6b8b5310 authored by Kyle Wiebers's avatar Kyle Wiebers Committed by Mayra Cabrera

Quarantine flaky issue move spec

parent 377ea3e8
...@@ -516,7 +516,7 @@ RSpec.describe API::Issues do ...@@ -516,7 +516,7 @@ RSpec.describe API::Issues do
end end
context 'when using the issue ID instead of iid' do context 'when using the issue ID instead of iid' do
it 'returns 404 when trying to move an issue' do it 'returns 404 when trying to move an issue', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/341520' do
post api("/projects/#{project.id}/issues/#{issue.id}/move", user), post api("/projects/#{project.id}/issues/#{issue.id}/move", user),
params: { to_project_id: target_project.id } params: { to_project_id: target_project.id }
...@@ -608,7 +608,7 @@ RSpec.describe API::Issues do ...@@ -608,7 +608,7 @@ RSpec.describe API::Issues do
end end
context 'when using the issue ID instead of iid' do context 'when using the issue ID instead of iid' do
it 'returns 404' do it 'returns 404', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/341520' do
post api("/projects/#{project.id}/issues/#{issue.id}/clone", user), post api("/projects/#{project.id}/issues/#{issue.id}/clone", user),
params: { to_project_id: valid_target_project.id } params: { to_project_id: valid_target_project.id }
...@@ -683,7 +683,7 @@ RSpec.describe API::Issues do ...@@ -683,7 +683,7 @@ RSpec.describe API::Issues do
expect(response).to have_gitlab_http_status(:not_found) expect(response).to have_gitlab_http_status(:not_found)
end end
it 'returns 404 if the issue ID is used instead of the iid' do it 'returns 404 if the issue ID is used instead of the iid', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/341520' do
post api("/projects/#{project.id}/issues/#{issue.id}/subscribe", user) post api("/projects/#{project.id}/issues/#{issue.id}/subscribe", user)
expect(response).to have_gitlab_http_status(:not_found) expect(response).to have_gitlab_http_status(:not_found)
...@@ -716,7 +716,7 @@ RSpec.describe API::Issues do ...@@ -716,7 +716,7 @@ RSpec.describe API::Issues do
expect(response).to have_gitlab_http_status(:not_found) expect(response).to have_gitlab_http_status(:not_found)
end end
it 'returns 404 if using the issue ID instead of iid' do it 'returns 404 if using the issue ID instead of iid', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/341520' do
post api("/projects/#{project.id}/issues/#{issue.id}/unsubscribe", user) post api("/projects/#{project.id}/issues/#{issue.id}/unsubscribe", user)
expect(response).to have_gitlab_http_status(:not_found) expect(response).to have_gitlab_http_status(:not_found)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment