summaryrefslogtreecommitdiff
path: root/internal/ap/extract_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-05-28 19:59:55 +0200
committerLibravatar GitHub <noreply@github.com>2022-05-28 18:59:55 +0100
commitae5402ada6aa794a69de455f745934b27e030d3d (patch)
tree93d228443da821b0b38cc1417742e65e92e5edec /internal/ap/extract_test.go
parent[frontend] Reduce width of profile img with screen width (#615) (diff)
downloadgotosocial-ae5402ada6aa794a69de455f745934b27e030d3d.tar.xz
[chore] Mastodon api fixups (#617)
* don't omitempty on description * don't omitempty on any fields * add ms to timestamp format * don't omitempty on text_url * rearrange attachment fields a bit * just give URL again as attachment text url * update tests * fix accidental replace
Diffstat (limited to 'internal/ap/extract_test.go')
-rw-r--r--internal/ap/extract_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ap/extract_test.go b/internal/ap/extract_test.go
index b76717068..d78c3078d 100644
--- a/internal/ap/extract_test.go
+++ b/internal/ap/extract_test.go
@@ -154,7 +154,7 @@ func addressable4() vocab.ActivityStreamsAnnounce {
"cc": "https://another.instance/users/someone_else",
"id": "https://example.org/users/someone/statuses/107043888547829808/activity",
"object": "https://another.instance/users/someone_else/statuses/107026674805188668",
- "published": "2021-10-04T15:08:35Z",
+ "published": "2021-10-04T15:08:35.00Z",
"to": "https://example.org/users/someone/followers",
"type": "Announce"
}`)