From cc91ea057da671ca572b6fae1a65b2acd47b6a66 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 9 Dec 2023 16:54:38 +0100 Subject: [bugfix] Fix web media not showing as sensitive (#2433) * [bugfix] Fix web media not showing as sensitive * test * go fmt --- testrig/testmodels.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testrig/testmodels.go') 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), -- cgit v1.2.3