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
9a892ebd
Commit
9a892ebd
authored
Dec 10, 2020
by
Jonathan Schafer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove test for other issue
parent
865c5617
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
ee/spec/controllers/projects/vulnerability_feedback_controller_spec.rb
...ollers/projects/vulnerability_feedback_controller_spec.rb
+0
-10
No files found.
ee/spec/controllers/projects/vulnerability_feedback_controller_spec.rb
View file @
9a892ebd
...
@@ -185,16 +185,6 @@ RSpec.describe Projects::VulnerabilityFeedbackController do
...
@@ -185,16 +185,6 @@ RSpec.describe Projects::VulnerabilityFeedbackController do
expect
{
subject
}.
to
change
{
Vulnerabilities
::
IssueLink
.
count
}.
by
(
1
)
expect
{
subject
}.
to
change
{
Vulnerabilities
::
IssueLink
.
count
}.
by
(
1
)
end
end
end
end
context
'when uuid of finding is provided'
do
let!
(
:vulnerability
)
{
create
(
:vulnerability
,
:with_findings
,
project:
project
)
}
it
'sets the finding_uuid field of the feedback'
do
create_feedback
user:
user
,
project:
project
,
params:
create_params
.
deep_merge
(
feedback_type:
'issue'
,
finding_uuid:
vulnerability
.
finding
.
uuid
)
expect
(
json_response
[
'finding_uuid'
]).
to
eq
(
vulnerability
.
finding
.
uuid
)
end
end
end
end
end
end
...
...
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