summaryrefslogtreecommitdiff
path: root/internal/processing
diff options
context:
space:
mode:
authorLibravatar pnwmatt <180812017+pnwmatt@users.noreply.github.com>2025-02-08 04:04:30 -0800
committerLibravatar GitHub <noreply@github.com>2025-02-08 13:04:30 +0100
commite10de8464ae577d0a917482d01e7e01fbaf63460 (patch)
tree4fb48ed5fe37e5f7faa417ab79c98ff62178d48f /internal/processing
parent[chore] Update drone + goreleaser (#3742) (diff)
downloadgotosocial-e10de8464ae577d0a917482d01e7e01fbaf63460.tar.xz
[bug] Add missing `group` property to the Account model (#3746)
* Stub out account's Group parameter * Fix typo in Contributing documentation * Update swagger and match style * Update the swagger command to mimic test/swagger.sh * Fix tests for new `group` param in Account model * More test changes for new `group` param in Account * Continuing test changes for `group` param stubbing * Another round of `group` stubbing for tests
Diffstat (limited to 'internal/processing')
-rw-r--r--internal/processing/stream/notification_test.go3
-rw-r--r--internal/processing/stream/statusupdate_test.go3
2 files changed, 4 insertions, 2 deletions
diff --git a/internal/processing/stream/notification_test.go b/internal/processing/stream/notification_test.go
index 5c89e1f40..2ede28079 100644
--- a/internal/processing/stream/notification_test.go
+++ b/internal/processing/stream/notification_test.go
@@ -82,7 +82,8 @@ func (suite *NotificationTestSuite) TestStreamNotification() {
"statuses_count": 4,
"last_status_at": "2024-11-01",
"emojis": [],
- "fields": []
+ "fields": [],
+ "group": false
}
}`, dst.String())
}
diff --git a/internal/processing/stream/statusupdate_test.go b/internal/processing/stream/statusupdate_test.go
index 6bf5e436c..180538c60 100644
--- a/internal/processing/stream/statusupdate_test.go
+++ b/internal/processing/stream/statusupdate_test.go
@@ -94,7 +94,8 @@ func (suite *StatusUpdateTestSuite) TestStreamNotification() {
"statuses_count": 4,
"last_status_at": "2024-11-01",
"emojis": [],
- "fields": []
+ "fields": [],
+ "group": false
},
"media_attachments": [
{