summaryrefslogtreecommitdiff
path: root/internal/federation/dereferencing/status_test.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2025-01-08 10:29:23 +0000
committerLibravatar GitHub <noreply@github.com>2025-01-08 11:29:23 +0100
commitc013892ca22fe6bface8dc580571b2f0527cd1db (patch)
tree8eccf44e188b2d906aa0bafc9fb37640f1526844 /internal/federation/dereferencing/status_test.go
parent[feature] Create/update/remove domain permission subscriptions (#3623) (diff)
downloadgotosocial-c013892ca22fe6bface8dc580571b2f0527cd1db.tar.xz
[chore] replace statuses.updated_at column with statuses.edited_at (#3636)
* update statuses table to replace updated_at column with edited_at * code comment * better code comments, fix setting of status + edit + mention + poll database times * fix log to logf call * fix status.EditIDs not being carried over in dereferencer.encrichStatus() * move status.EditID setting into handleStatusEdit()
Diffstat (limited to 'internal/federation/dereferencing/status_test.go')
-rw-r--r--internal/federation/dereferencing/status_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/federation/dereferencing/status_test.go b/internal/federation/dereferencing/status_test.go
index 4b3bd6d67..445676ba4 100644
--- a/internal/federation/dereferencing/status_test.go
+++ b/internal/federation/dereferencing/status_test.go
@@ -337,7 +337,7 @@ func (suite *StatusTestSuite) TestDereferencerRefreshStatusUpdated() {
AttachmentIDs: testStatus.AttachmentIDs,
PollOptions: getPollOptions(testStatus),
PollVotes: getPollVotes(testStatus),
- CreatedAt: testStatus.UpdatedAt,
+ CreatedAt: testStatus.UpdatedAt(),
},
)
}