summaryrefslogtreecommitdiff
path: root/internal/db/bundb/media_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/bundb/media_test.go')
-rw-r--r--internal/db/bundb/media_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/bundb/media_test.go b/internal/db/bundb/media_test.go
index 6b419022a..59b927119 100644
--- a/internal/db/bundb/media_test.go
+++ b/internal/db/bundb/media_test.go
@@ -38,7 +38,7 @@ func (suite *MediaTestSuite) TestGetAttachmentByID() {
}
func (suite *MediaTestSuite) TestGetOlder() {
- attachments, err := suite.db.GetRemoteOlderThan(context.Background(), time.Now(), 20)
+ attachments, err := suite.db.GetCachedAttachmentsOlderThan(context.Background(), time.Now(), 20)
suite.NoError(err)
suite.Len(attachments, 2)
}