summaryrefslogtreecommitdiff
path: root/internal/api/client/statuses
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-12-09 16:54:38 +0100
committerLibravatar GitHub <noreply@github.com>2023-12-09 16:54:38 +0100
commitcc91ea057da671ca572b6fae1a65b2acd47b6a66 (patch)
tree6c6e1213afa33ada49e1b6cb8286fd959d2b3503 /internal/api/client/statuses
parent[bugfix] Fix wrong notification type sent for poll end (#2429) (diff)
downloadgotosocial-cc91ea057da671ca572b6fae1a65b2acd47b6a66.tar.xz
[bugfix] Fix web media not showing as sensitive (#2433)
* [bugfix] Fix web media not showing as sensitive * test * go fmt
Diffstat (limited to 'internal/api/client/statuses')
-rw-r--r--internal/api/client/statuses/statuscreate_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/statuses/statuscreate_test.go b/internal/api/client/statuses/statuscreate_test.go
index e945d9caf..d936cb656 100644
--- a/internal/api/client/statuses/statuscreate_test.go
+++ b/internal/api/client/statuses/statuscreate_test.go
@@ -385,7 +385,7 @@ func (suite *StatusCreateTestSuite) TestAttachNewMediaSuccess() {
suite.NoError(err)
// compare it with what we have now
- suite.EqualValues(statusResponse.MediaAttachments[0], gtsAttachmentAsapi)
+ suite.EqualValues(*statusResponse.MediaAttachments[0], gtsAttachmentAsapi)
// the status id of the attachment should now be set to the id of the status we just created
suite.Equal(statusResponse.ID, gtsAttachment.StatusID)