mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-01 15:23:15 -06:00
remove media_attachments.updated_at column
This commit is contained in:
parent
d1db703e5b
commit
736d45db7f
11 changed files with 134 additions and 90 deletions
|
|
@ -20,7 +20,6 @@ package media_test
|
|||
import (
|
||||
"context"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/stretchr/testify/suite"
|
||||
)
|
||||
|
|
@ -42,8 +41,6 @@ func (suite *UnattachTestSuite) TestUnattachMedia() {
|
|||
|
||||
dbAttachment, errWithCode := suite.db.GetAttachmentByID(ctx, a.ID)
|
||||
suite.NoError(errWithCode)
|
||||
|
||||
suite.WithinDuration(dbAttachment.UpdatedAt, time.Now(), 1*time.Minute)
|
||||
suite.Empty(dbAttachment.StatusID)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue