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
b44d91c6
Commit
b44d91c6
authored
Jan 12, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wording
parent
07d90dbe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ee/app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js
...javascripts/vue_merge_request_widget/mr_widget_options.js
+3
-3
spec/javascripts/vue_mr_widget/ee_mr_widget_options_spec.js
spec/javascripts/vue_mr_widget/ee_mr_widget_options_spec.js
+1
-1
No files found.
ee/app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js
View file @
b44d91c6
...
...
@@ -121,7 +121,7 @@ export default {
);
}
return
'
SAST
no security vulnerabilities detected
'
;
return
'
SAST
detected no security vulnerabilities
'
;
},
dockerText
()
{
...
...
@@ -159,13 +159,13 @@ export default {
dastText
()
{
if
(
this
.
mr
.
dastReport
.
length
)
{
return
n__
(
'
DAST detected%d alert by analyzing the review app
'
,
'
DAST detected
%d alert by analyzing the review app
'
,
'
DAST detected %d alerts by analyzing the review app
'
,
this
.
mr
.
dastReport
.
length
,
);
}
return
s__
(
'
ciReport|DAST
no alerts detected
by analyzing the review app
'
);
return
s__
(
'
ciReport|DAST
detected no alerts
by analyzing the review app
'
);
},
codequalityStatus
()
{
...
...
spec/javascripts/vue_mr_widget/ee_mr_widget_options_spec.js
View file @
b44d91c6
...
...
@@ -94,7 +94,7 @@ describe('ee merge request widget options', () => {
setTimeout
(()
=>
{
expect
(
vm
.
$el
.
querySelector
(
'
.js-sast-widget .js-code-text
'
).
textContent
.
trim
(),
).
toEqual
(
'
SAST
no security vulnerabilities detected
'
);
).
toEqual
(
'
SAST
detected no security vulnerabilities
'
);
done
();
},
0
);
});
...
...
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