summaryrefslogtreecommitdiff
path: root/internal/db
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-01-23 13:39:01 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-23 13:39:01 +0100
commit36f62d6e6013db9d7c0f191254173a1f32f7bdf8 (patch)
tree43fce3e265874be0284bfd83a78eb7c9638b63ae /internal/db
parent[feature] Implement `/api/v1/reports` endpoints on client API (#1330) (diff)
downloadgotosocial-36f62d6e6013db9d7c0f191254173a1f32f7bdf8.tar.xz
[chore] remove funky duplicate attachment in testrig (#1379)
* [chore] remove funky duplicate attachment in testrig * whoops
Diffstat (limited to 'internal/db')
-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 612020108..139a4b780 100644
--- a/internal/db/bundb/media_test.go
+++ b/internal/db/bundb/media_test.go
@@ -41,7 +41,7 @@ func (suite *MediaTestSuite) TestGetAttachmentByID() {
func (suite *MediaTestSuite) TestGetOlder() {
attachments, err := suite.db.GetRemoteOlderThan(context.Background(), time.Now(), 20)
suite.NoError(err)
- suite.Len(attachments, 3)
+ suite.Len(attachments, 2)
}
func (suite *MediaTestSuite) TestGetAvisAndHeaders() {