Fix more keybase-related test failures (#10443)

signup-info-prompt
ThibG 2019-04-01 19:10:44 +02:00 committed by Eugen Rochko
parent 85973f4f37
commit 2acd8940de
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ RSpec.describe ActivityPub::ProcessAccountService, type: :service do
end end
it 'removes no longer present proofs' do it 'removes no longer present proofs' do
allow(ProofProvider::Keybase::Worker).to receive(:perform_async)
account = Fabricate(:account, username: 'alice', domain: 'example.com') account = Fabricate(:account, username: 'alice', domain: 'example.com')
old_proof = Fabricate(:account_identity_proof, account: account, provider: 'keybase', provider_username: 'Bob', token: 'b' * 66) old_proof = Fabricate(:account_identity_proof, account: account, provider: 'keybase', provider_username: 'Bob', token: 'b' * 66)