Fix more keybase-related test failures (#10443)

master
ThibG 6 years ago committed by Eugen Rochko
parent 85973f4f37
commit 2acd8940de
  1. 2
      spec/services/activitypub/process_account_service_spec.rb

@ -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)

Loading…
Cancel
Save