From 2acd8940de596ab119e35bd204fe55e06b914403 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 fee502949b9..5141e3f1656 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)