Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-25 18:10:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-25 18:10:30 +0300
commitd5fa3bac88ff4b8c5870d6d7988fc7e37832c183 (patch)
tree7fb663cbbaa98fb55d322f91e549ee6b6711a4f2 /spec/channels
parentcc1e91be1cd930f58baebb89f2ff1893045a2aea (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/channels')
-rw-r--r--spec/channels/application_cable/connection_spec.rb2
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