0
0
Fork 0

Add notification policies and notification requests (#29366)

This commit is contained in:
Eugen Rochko 2024-03-07 15:53:37 +01:00 committed by GitHub
parent 653ce43abe
commit 50b17f7e10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
104 changed files with 1096 additions and 247 deletions

View file

@ -0,0 +1,6 @@
# frozen_string_literal: true
Fabricator(:notification_permission) do
account
from_account { Fabricate.build(:account) }
end

View file

@ -0,0 +1,9 @@
# frozen_string_literal: true
Fabricator(:notification_policy) do
account
filter_not_following false
filter_not_followers false
filter_new_accounts false
filter_private_mentions true
end

View file

@ -0,0 +1,8 @@
# frozen_string_literal: true
Fabricator(:notification_request) do
account
from_account { Fabricate.build(:account) }
last_status { Fabricate.build(:status) }
dismissed false
end