mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-08 19:35:11 +01:00
single line for fabricated status when its not humongous
This commit is contained in:
parent
63ed1ddd15
commit
a7b0661d56
@ -264,14 +264,7 @@ RSpec.describe ActivityPub::FetchAllRepliesWorker do
|
||||
|
||||
context 'when replies should not be fetched' do
|
||||
# ensure that we should not fetch by setting the status to be created in the debounce window
|
||||
let(:status) do
|
||||
Fabricate(
|
||||
:status,
|
||||
account: account,
|
||||
uri: top_note_uri,
|
||||
created_at: DateTime.now
|
||||
)
|
||||
end
|
||||
let(:status) { Fabricate(:status, account: account, uri: top_note_uri, created_at: DateTime.now) }
|
||||
|
||||
before do
|
||||
stub_const('Status::FetchRepliesConcern::CREATED_RECENTLY_DEBOUNCE', 1.week)
|
||||
|
Loading…
Reference in New Issue
Block a user