Add retention policy for cached content and media (#19232)
This commit is contained in:
parent
3e0999cd11
commit
5c9abdeff1
30 changed files with 559 additions and 135 deletions
6
spec/fabricators/access_grant_fabricator.rb
Normal file
6
spec/fabricators/access_grant_fabricator.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
Fabricator :access_grant, from: 'Doorkeeper::AccessGrant' do
|
||||
application
|
||||
resource_owner_id { Fabricate(:user).id }
|
||||
expires_in 3_600
|
||||
redirect_uri { Doorkeeper.configuration.native_redirect_uri }
|
||||
end
|
|
@ -3,4 +3,5 @@ Fabricator(:preview_card) do
|
|||
title { Faker::Lorem.sentence }
|
||||
description { Faker::Lorem.paragraph }
|
||||
type 'link'
|
||||
image { attachment_fixture('attachment.jpg') }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue