summaryrefslogtreecommitdiff
path: root/internal/db/bundb/notification_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-11-18 17:23:14 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-18 17:23:14 +0100
commitd98a48b446edb5bf2c3b79bdfd382d505a08a6fc (patch)
tree1dd1639f63fa25f561d2050af1baab1d3fb7ee28 /internal/db/bundb/notification_test.go
parent[docs] Add AUR Reference (#1054) (diff)
downloadgotosocial-d98a48b446edb5bf2c3b79bdfd382d505a08a6fc.tar.xz
[performance] don't use relations to select notification structs, use caches instead (#1072)
Diffstat (limited to 'internal/db/bundb/notification_test.go')
-rw-r--r--internal/db/bundb/notification_test.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/db/bundb/notification_test.go b/internal/db/bundb/notification_test.go
index 704d3373b..cd5022951 100644
--- a/internal/db/bundb/notification_test.go
+++ b/internal/db/bundb/notification_test.go
@@ -113,9 +113,6 @@ func (suite *NotificationTestSuite) TestGetNotificationsWithoutSpam() {
suite.NotNil(notifications)
for _, n := range notifications {
suite.Equal(testAccount.ID, n.TargetAccountID)
- suite.NotNil(n.OriginAccount)
- suite.NotNil(n.TargetAccount)
- suite.NotNil(n.Status)
}
}