diff options
author | 2023-12-09 16:54:38 +0100 | |
---|---|---|
committer | 2023-12-09 16:54:38 +0100 | |
commit | cc91ea057da671ca572b6fae1a65b2acd47b6a66 (patch) | |
tree | 6c6e1213afa33ada49e1b6cb8286fd959d2b3503 /testrig/testmodels.go | |
parent | [bugfix] Fix wrong notification type sent for poll end (#2429) (diff) | |
download | gotosocial-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 'testrig/testmodels.go')
-rw-r--r-- | testrig/testmodels.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go index 05eeb48e0..e039a7c16 100644 --- a/testrig/testmodels.go +++ b/testrig/testmodels.go @@ -1984,9 +1984,9 @@ func NewTestStatuses() map[string]*gtsmodel.Status { InReplyToAccountID: "01F8MH17FWEB39HZJ76B6VXSKF", InReplyToURI: "http://localhost:8080/users/admin/statuses/01F8MH75CBF9JFX4ZAD54N0W0R", BoostOfID: "", - ContentWarning: "", + ContentWarning: "some unknown media included", Visibility: gtsmodel.VisibilityPublic, - Sensitive: util.Ptr(false), + Sensitive: util.Ptr(true), Language: "en", CreatedWithApplicationID: "", Federated: util.Ptr(true), |