diff options
Diffstat (limited to 'spec/frontend/security_configuration')
-rw-r--r-- | spec/frontend/security_configuration/configuration_table_spec.js | 2 | ||||
-rw-r--r-- | spec/frontend/security_configuration/manage_sast_spec.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/security_configuration/configuration_table_spec.js b/spec/frontend/security_configuration/configuration_table_spec.js index b8a574dc4e0..a1789052c92 100644 --- a/spec/frontend/security_configuration/configuration_table_spec.js +++ b/spec/frontend/security_configuration/configuration_table_spec.js @@ -30,7 +30,7 @@ describe('Configuration Table Component', () => { expect(wrapper.text()).toContain(scanner.name); expect(wrapper.text()).toContain(scanner.description); if (scanner.type === REPORT_TYPE_SAST) { - expect(wrapper.findByTestId(scanner.type).text()).toBe('Configure via Merge Request'); + expect(wrapper.findByTestId(scanner.type).text()).toBe('Configure via merge request'); } else if (scanner.type !== REPORT_TYPE_SECRET_DETECTION) { expect(wrapper.findByTestId(scanner.type).text()).toMatchInterpolatedText(UPGRADE_CTA); } diff --git a/spec/frontend/security_configuration/manage_sast_spec.js b/spec/frontend/security_configuration/manage_sast_spec.js index 7c76f19ddb4..15a57210246 100644 --- a/spec/frontend/security_configuration/manage_sast_spec.js +++ b/spec/frontend/security_configuration/manage_sast_spec.js @@ -79,7 +79,7 @@ describe('Manage Sast Component', () => { it('should render Button with correct text', () => { createComponent(); - expect(findButton().text()).toContain('Configure via Merge Request'); + expect(findButton().text()).toContain('Configure via merge request'); }); describe('given a successful response', () => { |