From: ThibG Date: Mon, 1 Apr 2019 17:10:44 +0000 (+0200) Subject: Fix more keybase-related test failures (#10443) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=2acd8940de596ab119e35bd204fe55e06b914403;p=mastodon.git Fix more keybase-related test failures (#10443) --- diff --git a/spec/services/activitypub/process_account_service_spec.rb b/spec/services/activitypub/process_account_service_spec.rb index fee502949..5141e3f16 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)