From ec3dab2b7f7774eefc35c555c9e283a5bb183b5f Mon Sep 17 00:00:00 2001 From: ThibG Date: Mon, 1 Apr 2019 19:10:44 +0200 Subject: [PATCH] Fix more keybase-related test failures (#10443) --- spec/services/activitypub/process_account_service_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/services/activitypub/process_account_service_spec.rb b/spec/services/activitypub/process_account_service_spec.rb index fee502949b..5141e3f165 100644 --- a/spec/services/activitypub/process_account_service_spec.rb +++ b/spec/services/activitypub/process_account_service_spec.rb @@ -56,6 +56,8 @@ RSpec.describe ActivityPub::ProcessAccountService, type: :service do end it 'removes no longer present proofs' do + allow(ProofProvider::Keybase::Worker).to receive(:perform_async) + account = Fabricate(:account, username: 'alice', domain: 'example.com') old_proof = Fabricate(:account_identity_proof, account: account, provider: 'keybase', provider_username: 'Bob', token: 'b' * 66)