Skip to content

Commit 4f0a298

Browse files
[CI] Sync Mock Server (#3517)
1 parent 8fd696a commit 4f0a298

19 files changed

+359
-365
lines changed

TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_add_member.json

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"channel": {
3-
"cid": "messaging:b8788452-a2e6-11ef-9498-6e95f8ad76d5",
3+
"cid": "messaging:d2a7e800-af79-11ef-80b0-62ecd2772e64",
44
"config": {
55
"automod": "AI",
66
"automod_behavior": "block",
@@ -50,7 +50,7 @@
5050
"uploads": true,
5151
"url_enrichment": true
5252
},
53-
"created_at": "2024-11-15T00:15:30.302311Z",
53+
"created_at": "2024-12-01T00:18:43.799231Z",
5454
"created_by": {
5555
"banned": false,
5656
"birthland": "Tatooine",
@@ -59,21 +59,21 @@
5959
"id": "luke_skywalker",
6060
"image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg",
6161
"language": "en",
62-
"last_active": "2024-11-15T00:15:29.496638486Z",
62+
"last_active": "2024-12-01T00:18:42.962331636Z",
6363
"name": "Luke Skywalker",
6464
"online": true,
6565
"pando": "{\"speciality\":\"ios engineer\"}",
66-
"role": "admin",
66+
"role": "user",
6767
"team": "test",
6868
"teams": [],
6969
"type": "team",
70-
"updated_at": "2024-11-05T15:05:10.176527Z"
70+
"updated_at": "2024-11-27T08:34:52.738343Z"
7171
},
7272
"disabled": false,
7373
"frozen": false,
7474
"hidden": false,
75-
"id": "b8788452-a2e6-11ef-9498-6e95f8ad76d5",
76-
"last_message_at": "2024-11-15T00:15:33.983915Z",
75+
"id": "d2a7e800-af79-11ef-80b0-62ecd2772e64",
76+
"last_message_at": "2024-12-01T00:18:46.088348Z",
7777
"member_count": 4,
7878
"name": "Sync Mock Server",
7979
"own_capabilities": [
@@ -82,7 +82,6 @@
8282
"connect-events",
8383
"create-attachment",
8484
"create-call",
85-
"delete-any-message",
8685
"delete-channel",
8786
"delete-own-message",
8887
"flag-message",
@@ -102,30 +101,28 @@
102101
"send-reaction",
103102
"send-reply",
104103
"send-typing-events",
105-
"set-channel-cooldown",
106104
"skip-slow-mode",
107105
"typing-events",
108-
"update-any-message",
109106
"update-channel",
110107
"update-channel-members",
111108
"update-own-message",
112109
"update-thread",
113110
"upload-file"
114111
],
115112
"type": "messaging",
116-
"updated_at": "2024-11-15T00:15:30.302311Z"
113+
"updated_at": "2024-12-01T00:18:43.799231Z"
117114
},
118-
"duration": "29.13ms",
115+
"duration": "27.42ms",
119116
"members": [
120117
{
121118
"banned": false,
122119
"channel_role": "channel_member",
123-
"created_at": "2024-11-15T00:15:30.324092Z",
120+
"created_at": "2024-12-01T00:18:43.820612Z",
124121
"notifications_muted": false,
125122
"role": "member",
126123
"shadow_banned": false,
127124
"status": "member",
128-
"updated_at": "2024-11-15T00:15:30.324092Z",
125+
"updated_at": "2024-12-01T00:18:43.820612Z",
129126
"user": {
130127
"banned": false,
131128
"birthland": "Serenno",
@@ -134,7 +131,7 @@
134131
"id": "count_dooku",
135132
"image": "https://vignette.wikia.nocookie.net/starwars/images/b/b8/Dooku_Headshot.jpg",
136133
"language": "",
137-
"last_active": "2024-11-13T11:58:06.016539Z",
134+
"last_active": "2024-11-28T15:38:08.429887Z",
138135
"name": "Count Dooku",
139136
"online": false,
140137
"role": "user",
@@ -146,12 +143,12 @@
146143
{
147144
"banned": false,
148145
"channel_role": "channel_member",
149-
"created_at": "2024-11-15T00:15:30.324092Z",
146+
"created_at": "2024-12-01T00:18:43.820612Z",
150147
"notifications_muted": false,
151148
"role": "member",
152149
"shadow_banned": false,
153150
"status": "member",
154-
"updated_at": "2024-11-15T00:15:30.324092Z",
151+
"updated_at": "2024-12-01T00:18:43.820612Z",
155152
"user": {
156153
"banned": false,
157154
"birthland": "Corellia",
@@ -160,7 +157,7 @@
160157
"id": "han_solo",
161158
"image": "https://vignette.wikia.nocookie.net/starwars/images/e/e2/TFAHanSolo.png",
162159
"language": "",
163-
"last_active": "2024-11-14T20:55:49.60834Z",
160+
"last_active": "2024-11-29T12:10:41.35699Z",
164161
"name": "Han Solo",
165162
"online": false,
166163
"role": "user",
@@ -172,12 +169,12 @@
172169
{
173170
"banned": false,
174171
"channel_role": "channel_member",
175-
"created_at": "2024-11-15T00:15:30.324092Z",
172+
"created_at": "2024-12-01T00:18:43.820612Z",
176173
"notifications_muted": false,
177174
"role": "owner",
178175
"shadow_banned": false,
179176
"status": "member",
180-
"updated_at": "2024-11-15T00:15:30.324092Z",
177+
"updated_at": "2024-12-01T00:18:43.820612Z",
181178
"user": {
182179
"banned": false,
183180
"birthland": "Tatooine",
@@ -186,27 +183,27 @@
186183
"id": "luke_skywalker",
187184
"image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg",
188185
"language": "en",
189-
"last_active": "2024-11-15T00:15:29.496638486Z",
186+
"last_active": "2024-12-01T00:18:42.962331636Z",
190187
"name": "Luke Skywalker",
191188
"online": true,
192189
"pando": "{\"speciality\":\"ios engineer\"}",
193-
"role": "admin",
190+
"role": "user",
194191
"team": "test",
195192
"teams": [],
196193
"type": "team",
197-
"updated_at": "2024-11-05T15:05:10.176527Z"
194+
"updated_at": "2024-11-27T08:34:52.738343Z"
198195
},
199196
"user_id": "luke_skywalker"
200197
},
201198
{
202199
"banned": false,
203200
"channel_role": "channel_member",
204-
"created_at": "2024-11-15T00:15:34.502793Z",
201+
"created_at": "2024-12-01T00:18:46.520132Z",
205202
"notifications_muted": false,
206203
"role": "admin",
207204
"shadow_banned": false,
208205
"status": "member",
209-
"updated_at": "2024-11-15T00:15:34.502793Z",
206+
"updated_at": "2024-12-01T00:18:46.520132Z",
210207
"user": {
211208
"banned": false,
212209
"birthland": "Polis Massa",
@@ -215,7 +212,7 @@
215212
"id": "leia_organa",
216213
"image": "https://vignette.wikia.nocookie.net/starwars/images/f/fc/Leia_Organa_TLJ.png",
217214
"language": "ru",
218-
"last_active": "2024-11-14T06:29:34.91001Z",
215+
"last_active": "2024-11-30T15:18:49.223763Z",
219216
"name": "Leia Organa",
220217
"online": false,
221218
"private_settings": {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"duration": "392.35ms",
3-
"file": "https://frankfurt.stream-io-cdn.com/102399/images/349018f4-ed75-4b52-aae7-eb0752ddbd64.yoda.jpg?Key-Pair-Id=APKAIHG36VEWPDULE23Q&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9mcmFua2Z1cnQuc3RyZWFtLWlvLWNkbi5jb20vMTAyMzk5L2ltYWdlcy8zNDkwMThmNC1lZDc1LTRiNTItYWFlNy1lYjA3NTJkZGJkNjQueW9kYS5qcGc~Km9oPTUxNSpvdz01MTUqIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzMyODM5MzM1fX19XX0_&Signature=DM59FO--e-9UpsLL99vFPttUVMxsh3CJ142I-PoR07x8M9yDa6-ulLuPDob5kKYOOL9E7ogrIQ0nmJoYOKKgANhL7lBntjDHP2nDRQdVrsFHyH2-C7OU0kSe1yh-qkcea4XUjD3k2~v9aYtYiFl9wNxBeM-fWKHZMYL0zZ~w82Ll0xKJj3~6ELv3OkuHwCCyZCoOTqROs72ZiQh9xNKy9XnGq7GMKQTHPxo8I38KryGE47e1tYTJMaUU3jFUjS2lnc4Ee7HpmAWtQE1eocOzTMZmxnqsEavk3X4qK8zcI-NqMT4AD88KjpOUxSqdfDrE1BrTRfXB50VJEaLFbbb9aQ__&oh=515&ow=515"
2+
"duration": "347.97ms",
3+
"file": "https://frankfurt.stream-io-cdn.com/102399/images/278a0542-cb68-4d9d-bb50-5c31fc5b0ea7.yoda.jpg?Key-Pair-Id=APKAIHG36VEWPDULE23Q&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9mcmFua2Z1cnQuc3RyZWFtLWlvLWNkbi5jb20vMTAyMzk5L2ltYWdlcy8yNzhhMDU0Mi1jYjY4LTRkOWQtYmI1MC01YzMxZmM1YjBlYTcueW9kYS5qcGc~Km9oPTUxNSpvdz01MTUqIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzM0MjIxOTI3fX19XX0_&Signature=b1Z2s3xSiSOo9-ap6nsZZFWTY70q~vMkc2JjpZWzlP-9bvcOWTU5ur0ITCyEAxW5G-0BbZbdv5~BSd-WhYyT5-mTHzGHwLwGiFkiBOhAADgYKvICUkqIs7F4MvVLiglaUmYy9iAochhGPz54ObfHTGeCRxWTKiv~HBisJQUeE4zhlEWX702jWncRlHFbY8Mr-WCAJ0oUO~CkV~lpDNHrTiuOS-fkxB9DCrbnP2YT3LB8sknlCPIhmU-26Ix1Ho9noNWf16tvFvG-NWUU2YY5DEC78MiVTDLnIaNOgOaMsWZ-GwNYvQiYb5Vq6MrADebBMWUcYxZLXRDLeKkmBT9Wcg__&oh=515&ow=515"
44
}

0 commit comments

Comments
 (0)