Commit 708ffb4e authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'memorycancel-master-patch-42149' into 'master'

Change the test string to i18n

See merge request gitlab-org/gitlab!71624
parents 10cb4e6f c3df5e16
...@@ -40,7 +40,7 @@ RSpec.describe Admin::LicensesController do ...@@ -40,7 +40,7 @@ RSpec.describe Admin::LicensesController do
end.not_to change(License, :count) end.not_to change(License, :count)
expect(response).to render_template(:new) expect(response).to render_template(:new)
expect(response.body).to include('The license key is invalid. Make sure it is exactly as you received it from GitLab Inc.') expect(response.body).to include(_('The license key is invalid. Make sure it is exactly as you received it from GitLab Inc.'))
end end
it 'redirects to the subscription page when a valid license is entered/uploaded' do it 'redirects to the subscription page when a valid license is entered/uploaded' do
......
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