mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 19:57:52 +01:00
remove 'logo' from o_auths factory
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
FactoryBot.define do
|
FactoryBot.define do
|
||||||
factory :o_auth do
|
factory :o_auth do
|
||||||
sequence(:name) { |n| "OAuth#{n}" }
|
sequence(:name) { |n| "OAuth#{n}" }
|
||||||
logo { "https://upload.wikimedia.org/wikipedia/commons/5/53/Google_%22G%22_Logo.svg" }
|
|
||||||
is_enabled { false }
|
is_enabled { false }
|
||||||
client_id { "123456" }
|
client_id { "123456" }
|
||||||
client_secret { "123456" }
|
client_secret { "123456" }
|
||||||
@@ -16,7 +15,6 @@ FactoryBot.define do
|
|||||||
factory :default_o_auth, class: OAuth do
|
factory :default_o_auth, class: OAuth do
|
||||||
tenant { nil }
|
tenant { nil }
|
||||||
sequence(:name) { |n| "DefaultOAuth#{n}" }
|
sequence(:name) { |n| "DefaultOAuth#{n}" }
|
||||||
logo { "https://upload.wikimedia.org/wikipedia/commons/5/53/Google_%22G%22_Logo.svg" }
|
|
||||||
is_enabled { false }
|
is_enabled { false }
|
||||||
client_id { "123456" }
|
client_id { "123456" }
|
||||||
client_secret { "123456" }
|
client_secret { "123456" }
|
||||||
|
|||||||
Reference in New Issue
Block a user