Fix the build.

1481ea640c broke it.
This commit is contained in:
Guo Xiang Tan 2019-08-01 15:23:50 +08:00
parent 8531056ad5
commit 3b575b82f3

View File

@ -1238,7 +1238,8 @@ describe UsersController do
put "/u/#{user.username}/preferences/username.json", params: { new_username: new_username }
expect(response.status).to eq(422)
expect(::JSON.parse(response.body)['errors'].first).to include(I18n.t('errors.messages.sso_overrides_username'))
expect(::JSON.parse(response.body)['errors'].first).to include(I18n.t('errors.messages.sso_overrides_username'))
end
end
end