diff options
author | 2024-08-22 19:47:10 +0200 | |
---|---|---|
committer | 2024-08-22 19:47:10 +0200 | |
commit | 53fccb8af8943aa63e557cbd54d2c19c75b63174 (patch) | |
tree | 5a3dad5bfb03df895a1a45c69d8fe8acc33abab6 /testrig/testmodels.go | |
parent | [bugfix/frontend] Small safari + gnome web fixes (#3219) (diff) | |
download | gotosocial-53fccb8af8943aa63e557cbd54d2c19c75b63174.tar.xz |
[feature] Use `local_only` field, deprecate `federated` field (#3222)
* [feature] Use `local_only` field, deprecate `federated` field
* use `deprecated` comment for form.Federated
* nolint
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r-- | testrig/testmodels.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go index c02924b76..3cf785908 100644 --- a/testrig/testmodels.go +++ b/testrig/testmodels.go @@ -1536,8 +1536,8 @@ func NewTestStatuses() map[string]*gtsmodel.Status { ID: "01F8MHAYFKS4KMXF8K5Y1C0KRN", URI: "http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAYFKS4KMXF8K5Y1C0KRN", URL: "http://localhost:8080/@the_mighty_zork/statuses/01F8MHAYFKS4KMXF8K5Y1C0KRN", - Content: "this is an unlocked local-only post that shouldn't federate, but it's still boostable, replyable, and likeable", - Text: "this is an unlocked local-only post that shouldn't federate, but it's still boostable, replyable, and likeable", + Content: "this is a Public local-only post that shouldn't federate, but it's still boostable, replyable, and likeable", + Text: "this is a Public local-only post that shouldn't federate, but it's still boostable, replyable, and likeable", CreatedAt: TimeMustParse("2021-10-20T12:40:37+02:00"), UpdatedAt: TimeMustParse("2021-10-20T12:40:37+02:00"), Local: util.Ptr(true), @@ -1547,7 +1547,7 @@ func NewTestStatuses() map[string]*gtsmodel.Status { BoostOfID: "", ThreadID: "01HCWDVTW3HQWSX66VJQ91Z1RH", ContentWarning: "", - Visibility: gtsmodel.VisibilityUnlocked, + Visibility: gtsmodel.VisibilityPublic, Sensitive: util.Ptr(false), Language: "en", CreatedWithApplicationID: "01F8MGY43H3N2C8EWPR2FPYEXG", |