diff options
author | 2023-01-23 13:39:01 +0100 | |
---|---|---|
committer | 2023-01-23 13:39:01 +0100 | |
commit | 36f62d6e6013db9d7c0f191254173a1f32f7bdf8 (patch) | |
tree | 43fce3e265874be0284bfd83a78eb7c9638b63ae /internal/api/client/admin/mediacleanup_test.go | |
parent | [feature] Implement `/api/v1/reports` endpoints on client API (#1330) (diff) | |
download | gotosocial-36f62d6e6013db9d7c0f191254173a1f32f7bdf8.tar.xz |
[chore] remove funky duplicate attachment in testrig (#1379)
* [chore] remove funky duplicate attachment in testrig
* whoops
Diffstat (limited to 'internal/api/client/admin/mediacleanup_test.go')
-rw-r--r-- | internal/api/client/admin/mediacleanup_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/api/client/admin/mediacleanup_test.go b/internal/api/client/admin/mediacleanup_test.go index 967f2c528..62f8474a0 100644 --- a/internal/api/client/admin/mediacleanup_test.go +++ b/internal/api/client/admin/mediacleanup_test.go @@ -35,7 +35,7 @@ type MediaCleanupTestSuite struct { } func (suite *MediaCleanupTestSuite) TestMediaCleanup() { - testAttachment := suite.testAttachments["remote_account_1_status_1_attachment_2"] + testAttachment := suite.testAttachments["remote_account_1_status_1_attachment_1"] suite.True(*testAttachment.Cached) // set up the request @@ -60,7 +60,7 @@ func (suite *MediaCleanupTestSuite) TestMediaCleanup() { } func (suite *MediaCleanupTestSuite) TestMediaCleanupNoArg() { - testAttachment := suite.testAttachments["remote_account_1_status_1_attachment_2"] + testAttachment := suite.testAttachments["remote_account_1_status_1_attachment_1"] suite.True(*testAttachment.Cached) println("TIME: ", testAttachment.CreatedAt.String()) @@ -85,7 +85,7 @@ func (suite *MediaCleanupTestSuite) TestMediaCleanupNoArg() { } func (suite *MediaCleanupTestSuite) TestMediaCleanupNotOldEnough() { - testAttachment := suite.testAttachments["remote_account_1_status_1_attachment_2"] + testAttachment := suite.testAttachments["remote_account_1_status_1_attachment_1"] suite.True(*testAttachment.Cached) // set up the request |