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
2a51c5dd
Commit
2a51c5dd
authored
Feb 10, 2021
by
Kerri Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken link to report fixture
parent
5dabb296
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ee/spec/lib/ee/gitlab/background_migration/populate_uuids_for_security_findings_spec.rb
...nd_migration/populate_uuids_for_security_findings_spec.rb
+1
-1
No files found.
ee/spec/lib/ee/gitlab/background_migration/populate_uuids_for_security_findings_spec.rb
View file @
2a51c5dd
...
...
@@ -36,7 +36,7 @@ RSpec.describe ::Gitlab::BackgroundMigration::PopulateUuidsForSecurityFindings d
let
(
:security_scan_1
)
{
security_scans
.
create!
(
build_id:
ci_build_1
.
id
,
scan_type:
scan_types
[
:sast
])
}
let
(
:security_scan_2
)
{
security_scans
.
create!
(
build_id:
ci_build_2
.
id
,
scan_type:
scan_types
[
:dast
])
}
let
(
:security_scan_3
)
{
security_scans
.
create!
(
build_id:
ci_build_3
.
id
,
scan_type:
scan_types
[
:dast
])
}
let
(
:sast_file
)
{
fixture_file_upload
(
Rails
.
root
.
join
(
'
ee/
spec/fixtures/security_reports/master/gl-sast-report.json'
),
'application/json'
)
}
let
(
:sast_file
)
{
fixture_file_upload
(
Rails
.
root
.
join
(
'spec/fixtures/security_reports/master/gl-sast-report.json'
),
'application/json'
)
}
let
(
:dast_file
)
{
fixture_file_upload
(
Rails
.
root
.
join
(
'ee/spec/fixtures/security_reports/master/gl-dast-report.json'
),
'application/json'
)
}
let!
(
:finding_1
)
{
security_findings
.
create!
(
scan_id:
security_scan_1
.
id
,
scanner_id:
scanner
.
id
,
severity:
0
,
confidence:
0
,
position:
0
,
project_fingerprint:
fingerprint_1
)
}
...
...
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