mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-24 10:46:20 -06:00
Continuing test changes for group param stubbing
This commit is contained in:
parent
fc196f917e
commit
bb94a91274
1 changed files with 62 additions and 31 deletions
|
|
@ -695,7 +695,8 @@ func (suite *InternalToFrontendTestSuite) TestWarnFilteredStatusToFrontend() {
|
|||
"name": "admin",
|
||||
"color": ""
|
||||
}
|
||||
]
|
||||
],
|
||||
"group": false
|
||||
},
|
||||
"media_attachments": [
|
||||
{
|
||||
|
|
@ -879,7 +880,8 @@ func (suite *InternalToFrontendTestSuite) TestWarnFilteredBoostToFrontend() {
|
|||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": [],
|
||||
"enable_rss": true
|
||||
"enable_rss": true,
|
||||
"group": false
|
||||
},
|
||||
"media_attachments": [
|
||||
{
|
||||
|
|
@ -1014,7 +1016,8 @@ func (suite *InternalToFrontendTestSuite) TestWarnFilteredBoostToFrontend() {
|
|||
"name": "admin",
|
||||
"color": ""
|
||||
}
|
||||
]
|
||||
],
|
||||
"group": false
|
||||
},
|
||||
"media_attachments": [],
|
||||
"mentions": [],
|
||||
|
|
@ -1301,7 +1304,8 @@ func (suite *InternalToFrontendTestSuite) TestStatusToFrontendUnknownAttachments
|
|||
"statuses_count": 1,
|
||||
"last_status_at": "2023-11-02",
|
||||
"emojis": [],
|
||||
"fields": []
|
||||
"fields": [],
|
||||
"group": false
|
||||
},
|
||||
"media_attachments": [
|
||||
{
|
||||
|
|
@ -1466,7 +1470,8 @@ func (suite *InternalToFrontendTestSuite) TestStatusToWebStatus() {
|
|||
"statuses_count": 1,
|
||||
"last_status_at": "2023-11-02",
|
||||
"emojis": [],
|
||||
"fields": []
|
||||
"fields": [],
|
||||
"group": false
|
||||
},
|
||||
"media_attachments": [
|
||||
{
|
||||
|
|
@ -1608,7 +1613,8 @@ func (suite *InternalToFrontendTestSuite) TestStatusToFrontendUnknownLanguage()
|
|||
"name": "admin",
|
||||
"color": ""
|
||||
}
|
||||
]
|
||||
],
|
||||
"group": false
|
||||
},
|
||||
"media_attachments": [
|
||||
{
|
||||
|
|
@ -1748,7 +1754,8 @@ func (suite *InternalToFrontendTestSuite) TestStatusToFrontendPartialInteraction
|
|||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": [],
|
||||
"enable_rss": true
|
||||
"enable_rss": true,
|
||||
"group": false
|
||||
},
|
||||
"media_attachments": [],
|
||||
"mentions": [],
|
||||
|
|
@ -1863,7 +1870,8 @@ func (suite *InternalToFrontendTestSuite) TestStatusToAPIStatusPendingApproval()
|
|||
"name": "admin",
|
||||
"color": ""
|
||||
}
|
||||
]
|
||||
],
|
||||
"group": false
|
||||
},
|
||||
"media_attachments": [],
|
||||
"mentions": [
|
||||
|
|
@ -2075,7 +2083,8 @@ func (suite *InternalToFrontendTestSuite) TestInstanceV1ToFrontend() {
|
|||
"name": "admin",
|
||||
"color": ""
|
||||
}
|
||||
]
|
||||
],
|
||||
"group": false
|
||||
},
|
||||
"max_toot_chars": 5000,
|
||||
"rules": [],
|
||||
|
|
@ -2227,7 +2236,8 @@ func (suite *InternalToFrontendTestSuite) TestInstanceV2ToFrontend() {
|
|||
"name": "admin",
|
||||
"color": ""
|
||||
}
|
||||
]
|
||||
],
|
||||
"group": false
|
||||
}
|
||||
},
|
||||
"rules": [],
|
||||
|
|
@ -2340,7 +2350,8 @@ func (suite *InternalToFrontendTestSuite) TestReportToFrontend1() {
|
|||
"statuses_count": 4,
|
||||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": []
|
||||
"fields": [],
|
||||
"group": false
|
||||
}
|
||||
}`, string(b))
|
||||
}
|
||||
|
|
@ -2396,7 +2407,8 @@ func (suite *InternalToFrontendTestSuite) TestReportToFrontend2() {
|
|||
"verified_at": null
|
||||
}
|
||||
],
|
||||
"hide_collections": true
|
||||
"hide_collections": true,
|
||||
"group": false
|
||||
}
|
||||
}`, string(b))
|
||||
}
|
||||
|
|
@ -2461,7 +2473,8 @@ func (suite *InternalToFrontendTestSuite) TestAdminReportToFrontend1() {
|
|||
"statuses_count": 4,
|
||||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": []
|
||||
"fields": [],
|
||||
"group": false
|
||||
}
|
||||
},
|
||||
"target_account": {
|
||||
|
|
@ -2519,7 +2532,8 @@ func (suite *InternalToFrontendTestSuite) TestAdminReportToFrontend1() {
|
|||
"verified_at": null
|
||||
}
|
||||
],
|
||||
"hide_collections": true
|
||||
"hide_collections": true,
|
||||
"group": false
|
||||
},
|
||||
"created_by_application_id": "01F8MGY43H3N2C8EWPR2FPYEXG"
|
||||
},
|
||||
|
|
@ -2574,7 +2588,8 @@ func (suite *InternalToFrontendTestSuite) TestAdminReportToFrontend1() {
|
|||
"name": "admin",
|
||||
"color": ""
|
||||
}
|
||||
]
|
||||
],
|
||||
"group": false
|
||||
},
|
||||
"created_by_application_id": "01F8MGXQRHYF5QPMTMXP78QC2F"
|
||||
},
|
||||
|
|
@ -2631,7 +2646,8 @@ func (suite *InternalToFrontendTestSuite) TestAdminReportToFrontend1() {
|
|||
}
|
||||
]
|
||||
},
|
||||
"created_by_application_id": "01F8MGXQRHYF5QPMTMXP78QC2F"
|
||||
"created_by_application_id": "01F8MGXQRHYF5QPMTMXP78QC2F",
|
||||
"group": false
|
||||
},
|
||||
"statuses": [],
|
||||
"rules": [],
|
||||
|
|
@ -2713,7 +2729,8 @@ func (suite *InternalToFrontendTestSuite) TestAdminReportToFrontend2() {
|
|||
],
|
||||
"hide_collections": true
|
||||
},
|
||||
"created_by_application_id": "01F8MGY43H3N2C8EWPR2FPYEXG"
|
||||
"created_by_application_id": "01F8MGY43H3N2C8EWPR2FPYEXG",
|
||||
"group": false
|
||||
},
|
||||
"target_account": {
|
||||
"id": "01F8MH5ZK5VRH73AKHQM6Y9VNX",
|
||||
|
|
@ -2758,7 +2775,8 @@ func (suite *InternalToFrontendTestSuite) TestAdminReportToFrontend2() {
|
|||
"statuses_count": 4,
|
||||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": []
|
||||
"fields": [],
|
||||
"group": false
|
||||
}
|
||||
},
|
||||
"assigned_account": null,
|
||||
|
|
@ -2807,7 +2825,8 @@ func (suite *InternalToFrontendTestSuite) TestAdminReportToFrontend2() {
|
|||
"statuses_count": 4,
|
||||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": []
|
||||
"fields": [],
|
||||
"group": false
|
||||
},
|
||||
"media_attachments": [
|
||||
{
|
||||
|
|
@ -2966,7 +2985,8 @@ func (suite *InternalToFrontendTestSuite) TestAdminReportToFrontendSuspendedLoca
|
|||
"statuses_count": 4,
|
||||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": []
|
||||
"fields": [],
|
||||
"group": false
|
||||
}
|
||||
},
|
||||
"target_account": {
|
||||
|
|
@ -3014,7 +3034,8 @@ func (suite *InternalToFrontendTestSuite) TestAdminReportToFrontendSuspendedLoca
|
|||
"emojis": [],
|
||||
"fields": [],
|
||||
"suspended": true,
|
||||
"hide_collections": true
|
||||
"hide_collections": true,
|
||||
"group": false
|
||||
}
|
||||
},
|
||||
"assigned_account": {
|
||||
|
|
@ -3068,7 +3089,8 @@ func (suite *InternalToFrontendTestSuite) TestAdminReportToFrontendSuspendedLoca
|
|||
"name": "admin",
|
||||
"color": ""
|
||||
}
|
||||
]
|
||||
],
|
||||
"group": false
|
||||
},
|
||||
"created_by_application_id": "01F8MGXQRHYF5QPMTMXP78QC2F"
|
||||
},
|
||||
|
|
@ -3123,7 +3145,8 @@ func (suite *InternalToFrontendTestSuite) TestAdminReportToFrontendSuspendedLoca
|
|||
"name": "admin",
|
||||
"color": ""
|
||||
}
|
||||
]
|
||||
],
|
||||
"group": false
|
||||
},
|
||||
"created_by_application_id": "01F8MGXQRHYF5QPMTMXP78QC2F"
|
||||
},
|
||||
|
|
@ -3270,7 +3293,8 @@ func (suite *InternalToFrontendTestSuite) TestIntReqToAPI() {
|
|||
"name": "admin",
|
||||
"color": ""
|
||||
}
|
||||
]
|
||||
],
|
||||
"group": false
|
||||
},
|
||||
"status": {
|
||||
"id": "01F8MHC8VWDRBQR0N1BATDDEM5",
|
||||
|
|
@ -3331,7 +3355,8 @@ func (suite *InternalToFrontendTestSuite) TestIntReqToAPI() {
|
|||
"verified_at": null
|
||||
}
|
||||
],
|
||||
"hide_collections": true
|
||||
"hide_collections": true,
|
||||
"group": false
|
||||
},
|
||||
"media_attachments": [],
|
||||
"mentions": [],
|
||||
|
|
@ -3421,7 +3446,8 @@ func (suite *InternalToFrontendTestSuite) TestIntReqToAPI() {
|
|||
"name": "admin",
|
||||
"color": ""
|
||||
}
|
||||
]
|
||||
],
|
||||
"group": false
|
||||
},
|
||||
"media_attachments": [],
|
||||
"mentions": [
|
||||
|
|
@ -3585,7 +3611,8 @@ func (suite *InternalToFrontendTestSuite) TestConversationToAPISelfConvo() {
|
|||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": [],
|
||||
"enable_rss": true
|
||||
"enable_rss": true,
|
||||
"group": false
|
||||
},
|
||||
"media_attachments": [],
|
||||
"mentions": [],
|
||||
|
|
@ -3752,7 +3779,8 @@ func (suite *InternalToFrontendTestSuite) TestConversationToAPI() {
|
|||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": [],
|
||||
"enable_rss": true
|
||||
"enable_rss": true,
|
||||
"group": false
|
||||
},
|
||||
"media_attachments": [],
|
||||
"mentions": [],
|
||||
|
|
@ -3837,7 +3865,8 @@ func (suite *InternalToFrontendTestSuite) TestStatusToAPIEdits() {
|
|||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": [],
|
||||
"enable_rss": true
|
||||
"enable_rss": true,
|
||||
"group": false
|
||||
},
|
||||
"poll": null,
|
||||
"media_attachments": [],
|
||||
|
|
@ -3873,7 +3902,8 @@ func (suite *InternalToFrontendTestSuite) TestStatusToAPIEdits() {
|
|||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": [],
|
||||
"enable_rss": true
|
||||
"enable_rss": true,
|
||||
"group": false
|
||||
},
|
||||
"poll": null,
|
||||
"media_attachments": [],
|
||||
|
|
@ -3909,7 +3939,8 @@ func (suite *InternalToFrontendTestSuite) TestStatusToAPIEdits() {
|
|||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": [],
|
||||
"enable_rss": true
|
||||
"enable_rss": true,
|
||||
"group": false
|
||||
},
|
||||
"poll": null,
|
||||
"media_attachments": [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue