diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-10 06:09:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-10 06:09:10 +0300 |
commit | 5d756f9966c2f91b96cef7e552693e5bd1f1fb21 (patch) | |
tree | 4edd5c50411c21c57867d57a776e6c8a67d6f247 /spec/workers/background_migration_worker_spec.rb | |
parent | 23e66f03108f811dbb6f9aa4fc463f888666522d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/background_migration_worker_spec.rb')
-rw-r--r-- | spec/workers/background_migration_worker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/background_migration_worker_spec.rb b/spec/workers/background_migration_worker_spec.rb index 4575c270042..8094efcaf04 100644 --- a/spec/workers/background_migration_worker_spec.rb +++ b/spec/workers/background_migration_worker_spec.rb @@ -101,7 +101,7 @@ RSpec.describe BackgroundMigrationWorker, :clean_gitlab_redis_shared_state do it 'sets the class that will be executed as the caller_id' do expect(Gitlab::BackgroundMigration).to receive(:perform) do - expect(Gitlab::ApplicationContext.current).to include('meta.caller_id' => 'Foo') + expect(Labkit::Context.current.to_h).to include('meta.caller_id' => 'Foo') end worker.perform('Foo', [10, 20]) |