mirror of
https://github.com/mastodon/mastodon.git
synced 2025-05-07 12:16:14 +00:00
Fix autogenerated fabricators
This commit is contained in:
parent
1490d3939e
commit
716dec82bc
|
@ -1,9 +1,9 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Fabricator('Fasp::BackfillRequest') do
|
||||
category 'MyString'
|
||||
max_count 1
|
||||
cursor 'MyString'
|
||||
Fabricator(:fasp_backfill_request, from: 'Fasp::BackfillRequest') do
|
||||
category 'content'
|
||||
max_count 10
|
||||
cursor nil
|
||||
fulfilled false
|
||||
fasp_provider nil
|
||||
fasp_provider
|
||||
end
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Fabricator('Fasp::Subscription') do
|
||||
category 'MyString'
|
||||
subscription_type 'MyString'
|
||||
max_batch_size 1
|
||||
threshold_timeframe 1
|
||||
threshold_shares 1
|
||||
threshold_likes 1
|
||||
threshold_replies 1
|
||||
fasp_provider nil
|
||||
Fabricator(:fasp_subscription, from: 'Fasp::Subscription') do
|
||||
category 'content'
|
||||
subscription_type 'lifecycle'
|
||||
max_batch_size 10
|
||||
fasp_provider
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user