diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-25 18:10:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-25 18:10:30 +0300 |
commit | d5fa3bac88ff4b8c5870d6d7988fc7e37832c183 (patch) | |
tree | 7fb663cbbaa98fb55d322f91e549ee6b6711a4f2 /spec/channels | |
parent | cc1e91be1cd930f58baebb89f2ff1893045a2aea (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/channels')
-rw-r--r-- | spec/channels/application_cable/connection_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/channels/application_cable/connection_spec.rb b/spec/channels/application_cable/connection_spec.rb index f5b2cdd2fca..4943669bde0 100644 --- a/spec/channels/application_cable/connection_spec.rb +++ b/spec/channels/application_cable/connection_spec.rb @@ -21,7 +21,7 @@ RSpec.describe ApplicationCable::Connection, :clean_gitlab_redis_sessions do end context 'with a stale password' do - let(:partial_password_hash) { build(:user, password: 'some_old_password').authenticatable_salt } + let(:partial_password_hash) { build(:user, password: User.random_password).authenticatable_salt } let(:session_hash) { { 'warden.user.user.key' => [[user.id], partial_password_hash] } } it 'sets current_user to nil' do |