Add retention policy for cached content and media (#19232)

This commit is contained in:
Eugen Rochko
2022-09-27 03:08:19 +02:00
committed by GitHub
parent 3e0999cd11
commit 5c9abdeff1
30 changed files with 559 additions and 135 deletions

View 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

View File

@@ -3,4 +3,5 @@ Fabricator(:preview_card) do
title { Faker::Lorem.sentence }
description { Faker::Lorem.paragraph }
type 'link'
image { attachment_fixture('attachment.jpg') }
end