diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-10 18:11:00 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-10 18:11:00 +0300 |
commit | ad2d90fb2475c9660b04951cd93ee969cf78c09b (patch) | |
tree | e416d05f5fc0043b1b3c04837e22b2890886e9a6 /spec/requests/api/oauth_tokens_spec.rb | |
parent | 5103041796d8b3cfcfc5fdb010ebc6a3bb814df1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests/api/oauth_tokens_spec.rb')
-rw-r--r-- | spec/requests/api/oauth_tokens_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/requests/api/oauth_tokens_spec.rb b/spec/requests/api/oauth_tokens_spec.rb index 2d3215543d2..19a943477d2 100644 --- a/spec/requests/api/oauth_tokens_spec.rb +++ b/spec/requests/api/oauth_tokens_spec.rb @@ -124,6 +124,8 @@ RSpec.describe 'OAuth tokens', feature_category: :system_access do context 'when user account is not confirmed' do before do + stub_application_setting_enum('email_confirmation_setting', 'soft') + user.update!(confirmed_at: nil) request_oauth_token(user, client_basic_auth_header(client)) |