[chore] remove funky duplicate attachment in testrig (#1379)

* [chore] remove funky duplicate attachment in testrig

* whoops
This commit is contained in:
tobi
2023-01-23 13:39:01 +01:00
committed by GitHub
parent e9747247d5
commit 36f62d6e60
4 changed files with 8 additions and 57 deletions

View File

@ -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