Fix autogenerated fabricators

This commit is contained in:
David Roetzel 2025-03-21 15:26:34 +01:00
parent 1490d3939e
commit 716dec82bc
No known key found for this signature in database
2 changed files with 10 additions and 14 deletions

View File

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

View File

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