about summary refs log tree commit diff
path: root/spec/services/report_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/report_service_spec.rb')
-rw-r--r--spec/services/report_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/report_service_spec.rb b/spec/services/report_service_spec.rb
index 454e4d896..7e6a113e0 100644
--- a/spec/services/report_service_spec.rb
+++ b/spec/services/report_service_spec.rb
@@ -3,7 +3,7 @@ require 'rails_helper'
 RSpec.describe ReportService, type: :service do
   subject { described_class.new }
 
-  let(:source_account) { Fabricate(:user).account }
+  let(:source_account) { Fabricate(:account) }
 
   context 'for a remote account' do
     let(:remote_account) { Fabricate(:account, domain: 'example.com', protocol: :activitypub, inbox_url: 'http://example.com/inbox') }