summaryrefslogtreecommitdiff
path: root/internal/db/bundb/notification_test.go
diff options
context:
space:
mode:
authorLibravatar Vyr Cossont <VyrCossont@users.noreply.github.com>2024-06-17 12:50:50 -0700
committerLibravatar GitHub <noreply@github.com>2024-06-17 20:50:50 +0100
commitb08c1bd0cbf6986e59247deefbabb150db83aadd (patch)
tree45d47345c2cf46ddf50533be16470edd17a1da2a /internal/db/bundb/notification_test.go
parent[chore]: Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#3016) (diff)
downloadgotosocial-b08c1bd0cbf6986e59247deefbabb150db83aadd.tar.xz
[feature] Implement types[] param for notifications (#3009)
Counterpart of exclude_types[]. Also updates Swagger spec for types[] to use the correct param name and enumerate possible values. Fixes #3003
Diffstat (limited to 'internal/db/bundb/notification_test.go')
-rw-r--r--internal/db/bundb/notification_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/db/bundb/notification_test.go b/internal/db/bundb/notification_test.go
index 984c0ef8d..eb2c02066 100644
--- a/internal/db/bundb/notification_test.go
+++ b/internal/db/bundb/notification_test.go
@@ -97,6 +97,7 @@ func (suite *NotificationTestSuite) TestGetAccountNotificationsWithSpam() {
"",
20,
nil,
+ nil,
)
suite.NoError(err)
timeTaken := time.Since(before)
@@ -119,6 +120,7 @@ func (suite *NotificationTestSuite) TestGetAccountNotificationsWithoutSpam() {
"",
20,
nil,
+ nil,
)
suite.NoError(err)
timeTaken := time.Since(before)
@@ -143,6 +145,7 @@ func (suite *NotificationTestSuite) TestDeleteNotificationsWithSpam() {
"",
20,
nil,
+ nil,
)
if err != nil {
suite.FailNow(err.Error())
@@ -163,6 +166,7 @@ func (suite *NotificationTestSuite) TestDeleteNotificationsWithSpam() {
"",
20,
nil,
+ nil,
)
if err != nil {
suite.FailNow(err.Error())
@@ -184,6 +188,7 @@ func (suite *NotificationTestSuite) TestDeleteNotificationsWithTwoAccounts() {
"",
20,
nil,
+ nil,
)
suite.NoError(err)
suite.Nil(notifications)