summaryrefslogtreecommitdiff
path: root/testrig/testmodels.go
diff options
context:
space:
mode:
authorLibravatar Vyr Cossont <VyrCossont@users.noreply.github.com>2025-02-03 02:25:53 -0800
committerLibravatar GitHub <noreply@github.com>2025-02-03 10:25:53 +0000
commit27844b7da2567491661f9ddd2d4662f9f1b3ce40 (patch)
tree1832fe4ec4d3a0fbf6d01bcb5f39acf6885cc1f5 /testrig/testmodels.go
parent[chore]: Bump github.com/tdewolff/minify/v2 from 2.21.2 to 2.21.3 (#3727) (diff)
downloadgotosocial-27844b7da2567491661f9ddd2d4662f9f1b3ce40.tar.xz
[feature] Implement Web Push notification policy (#3721)
* Web Push: add policy column to subscriptions * Web Push: add policy to API * Web Push: test notification policy * go-fmt unrelated file (how did this get thru?)
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r--testrig/testmodels.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go
index 9a54aba70..806e64891 100644
--- a/testrig/testmodels.go
+++ b/testrig/testmodels.go
@@ -3610,6 +3610,7 @@ func NewTestWebPushSubscriptions() map[string]*gtsmodel.WebPushSubscription {
gtsmodel.NotificationPendingReply,
gtsmodel.NotificationPendingReblog,
}),
+ Policy: gtsmodel.WebPushNotificationPolicyFollowed,
},
}
}