Commit b44d91c6 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix wording

parent 07d90dbe
......@@ -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() {
......
......@@ -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);
});
......
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