Associate RS authorizations with web apps
This commit is contained in:
@@ -1,14 +1,6 @@
|
||||
FactoryBot.define do
|
||||
factory :app_catalog_web_app, class: 'AppCatalog::WebApp' do
|
||||
factory :web_app, class: 'AppCatalog::WebApp' do
|
||||
url { "https://myfavoritedrinks.remotestorage.io/" }
|
||||
name { "My Favorite Drinks" }
|
||||
short_name { "Drinks" }
|
||||
description { nil }
|
||||
theme_color { nil }
|
||||
background_color { nil }
|
||||
display { nil }
|
||||
start_url { nil }
|
||||
scope { nil }
|
||||
share_target { nil }
|
||||
end
|
||||
end
|
||||
|
||||
@@ -4,6 +4,7 @@ FactoryBot.define do
|
||||
client_id { "some-fancy-app" }
|
||||
redirect_uri { "https://example.com/some-fancy-app" }
|
||||
app_name { "Fancy App" }
|
||||
expire_at { nil }
|
||||
expire_at { 1.month.from_now }
|
||||
web_app
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user