Commit c3df5e16 authored by Zhu Shung's avatar Zhu Shung Committed by Lin Jen-Shin

Change the test string to i18n

parent 439f83fa
......@@ -40,7 +40,7 @@ RSpec.describe Admin::LicensesController do
end.not_to change(License, :count)
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
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