mirror of https://github.com/mastodon/mastodon
Fix autogenerated fabricators
parent
7dc250d368
commit
de3a9b247d
@ -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,7 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Fabricator('Fasp::DebugCallback') do
|
||||
fasp_provider nil
|
||||
ip 'MyString'
|
||||
Fabricator(:fasp_debug_callback, from: 'Fasp::DebugCallback') do
|
||||
fasp_provider
|
||||
ip '127.0.0.234'
|
||||
request_body 'MyText'
|
||||
end
|
||||
|
@ -1,14 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Fabricator('Fasp::Provider') do
|
||||
name 'MyString'
|
||||
base_url 'MyString'
|
||||
sign_in_url 'MyString'
|
||||
Fabricator(:fasp_provider, from: 'Fasp::Provider') do
|
||||
name { Faker::App.name }
|
||||
base_url { Faker::Internet.unique.url }
|
||||
sign_in_url { Faker::Internet.url }
|
||||
remote_identifier 'MyString'
|
||||
provider_public_key_pem 'MyString'
|
||||
server_private_key_pem 'MyString'
|
||||
capabilities ''
|
||||
privacy_policy ''
|
||||
contact_email 'MyString'
|
||||
fediverse_account 'MyString'
|
||||
capabilities []
|
||||
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