diff options
Diffstat (limited to 'testrig/testmodels.go')
| -rw-r--r-- | testrig/testmodels.go | 24 | 
1 files changed, 24 insertions, 0 deletions
| diff --git a/testrig/testmodels.go b/testrig/testmodels.go index e550c66f7..6d7390729 100644 --- a/testrig/testmodels.go +++ b/testrig/testmodels.go @@ -981,6 +981,30 @@ func NewTestStatuses() map[string]*gtsmodel.Status {  			},  			ActivityStreamsType: gtsmodel.ActivityStreamsNote,  		}, +		"local_account_2_status_4": { +			ID:                       "57e41a35-20da-4bc9-9cfd-db2089f924db", +			URI:                      "http://localhost:8080/users/1happyturtle/statuses/57e41a35-20da-4bc9-9cfd-db2089f924db", +			URL:                      "http://localhost:8080/@1happyturtle/statuses/57e41a35-20da-4bc9-9cfd-db2089f924db", +			Content:                  "🐢 this is a public status but I want it local only and not boostable 🐢", +			CreatedAt:                time.Now().Add(-1 * time.Minute), +			UpdatedAt:                time.Now().Add(-1 * time.Minute), +			Local:                    true, +			AccountID:                "eecaad73-5703-426d-9312-276641daa31e", +			InReplyToID:              "", +			BoostOfID:                "", +			ContentWarning:           "", +			Visibility:               gtsmodel.VisibilityPublic, +			Sensitive:                true, +			Language:                 "en", +			CreatedWithApplicationID: "6b0cd164-8497-4cd5-bec9-957886fac5df", +			VisibilityAdvanced: >smodel.VisibilityAdvanced{ +				Federated: false, +				Boostable: false, +				Replyable: true, +				Likeable:  true, +			}, +			ActivityStreamsType: gtsmodel.ActivityStreamsNote, +		},  	}  } | 
