Commit b44d91c6 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix wording

parent 07d90dbe
...@@ -121,7 +121,7 @@ export default { ...@@ -121,7 +121,7 @@ export default {
); );
} }
return 'SAST no security vulnerabilities detected'; return 'SAST detected no security vulnerabilities';
}, },
dockerText() { dockerText() {
...@@ -159,13 +159,13 @@ export default { ...@@ -159,13 +159,13 @@ export default {
dastText() { dastText() {
if (this.mr.dastReport.length) { if (this.mr.dastReport.length) {
return n__( 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', 'DAST detected %d alerts by analyzing the review app',
this.mr.dastReport.length, 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() { codequalityStatus() {
......
...@@ -94,7 +94,7 @@ describe('ee merge request widget options', () => { ...@@ -94,7 +94,7 @@ describe('ee merge request widget options', () => {
setTimeout(() => { setTimeout(() => {
expect( expect(
vm.$el.querySelector('.js-sast-widget .js-code-text').textContent.trim(), vm.$el.querySelector('.js-sast-widget .js-code-text').textContent.trim(),
).toEqual('SAST no security vulnerabilities detected'); ).toEqual('SAST detected no security vulnerabilities');
done(); done();
}, 0); }, 0);
}); });
......
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