summaryrefslogtreecommitdiff
path: root/testrig/testmodels.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-01-23 13:39:01 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-23 13:39:01 +0100
commit36f62d6e6013db9d7c0f191254173a1f32f7bdf8 (patch)
tree43fce3e265874be0284bfd83a78eb7c9638b63ae /testrig/testmodels.go
parent[feature] Implement `/api/v1/reports` endpoints on client API (#1330) (diff)
downloadgotosocial-36f62d6e6013db9d7c0f191254173a1f32f7bdf8.tar.xz
[chore] remove funky duplicate attachment in testrig (#1379)
* [chore] remove funky duplicate attachment in testrig * whoops
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r--testrig/testmodels.go49
1 files changed, 0 insertions, 49 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go
index 035744f93..5f8d6933c 100644
--- a/testrig/testmodels.go
+++ b/testrig/testmodels.go
@@ -1028,55 +1028,6 @@ func NewTestAttachments() map[string]*gtsmodel.MediaAttachment {
Header: FalseBool(),
Cached: TrueBool(),
},
- "remote_account_1_status_1_attachment_2": {
- ID: "01FVW7RXPQ8YJHTEXYPE7Q8ZY1",
- StatusID: "01FVW7JHQFSFK166WWKR8CBA6M",
- URL: "http://localhost:8080/fileserver/01F8MH5ZK5VRH73AKHQM6Y9VNX/attachment/original/01FVW7RXPQ8YJHTEXYPE7Q8ZY0.jpg",
- RemoteURL: "http://fossbros-anonymous.io/attachments/original/13bbc3f8-2b5e-46ea-9531-40b4974d9912.jpg",
- CreatedAt: TimeMustParse("2021-09-20T12:40:37+02:00"),
- UpdatedAt: TimeMustParse("2021-09-20T12:40:37+02:00"),
- Type: gtsmodel.FileTypeImage,
- FileMeta: gtsmodel.FileMeta{
- Original: gtsmodel.Original{
- Width: 472,
- Height: 291,
- Size: 137352,
- Aspect: 1.6219931271477663,
- },
- Small: gtsmodel.Small{
- Width: 472,
- Height: 291,
- Size: 137352,
- Aspect: 1.6219931271477663,
- },
- Focus: gtsmodel.Focus{
- X: 0,
- Y: 0,
- },
- },
- AccountID: "01F8MH5ZK5VRH73AKHQM6Y9VNX",
- Description: "tweet from thoughts of dog: i drank. all the water. in my bowl. earlier. but just now. i returned. to the same bowl. and it was. full again.. the bowl. is haunted",
- ScheduledStatusID: "",
- Blurhash: "LARysgM_IU_3~pD%M_Rj_39FIAt6",
- Processing: 2,
- File: gtsmodel.File{
- Path: "01F8MH5ZK5VRH73AKHQM6Y9VNX/attachment/original/01FVW7RXPQ8YJHTEXYPE7Q8ZY0.jpg",
- ContentType: "image/jpeg",
- FileSize: 19310,
- UpdatedAt: TimeMustParse("2021-09-20T12:40:37+02:00"),
- },
- Thumbnail: gtsmodel.Thumbnail{
- Path: "01F8MH5ZK5VRH73AKHQM6Y9VNX/attachment/small/01FVW7RXPQ8YJHTEXYPE7Q8ZY0.jpg",
- ContentType: "image/jpeg",
- FileSize: 20395,
- UpdatedAt: TimeMustParse("2021-09-20T12:40:37+02:00"),
- URL: "http://localhost:8080/fileserver/01F8MH5ZK5VRH73AKHQM6Y9VNX/attachment/small/01FVW7RXPQ8YJHTEXYPE7Q8ZY0.jpg",
- RemoteURL: "http://fossbros-anonymous.io/attachments/small/a499f55b-2d1e-4acd-98d2-1ac2ba6d79b9.jpg",
- },
- Avatar: FalseBool(),
- Header: FalseBool(),
- Cached: TrueBool(),
- },
"remote_account_3_header": {
ID: "01PFPMWK2FF0D9WMHEJHR07C3R",
StatusID: "",