Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6b8b5310
Commit
6b8b5310
authored
Sep 22, 2021
by
Kyle Wiebers
Committed by
Mayra Cabrera
Sep 22, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quarantine flaky issue move spec
parent
377ea3e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/requests/api/issues/post_projects_issues_spec.rb
spec/requests/api/issues/post_projects_issues_spec.rb
+4
-4
No files found.
spec/requests/api/issues/post_projects_issues_spec.rb
View file @
6b8b5310
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment