diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_add_member.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_add_member.json index d2eb1a1a23..f51c2ab63d 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_add_member.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_add_member.json @@ -1,6 +1,6 @@ { "channel": { - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", "config": { "automod": "AI", "automod_behavior": "block", @@ -50,7 +50,7 @@ "uploads": true, "url_enrichment": true }, - "created_at": "2024-12-15T00:17:22.983618Z", + "created_at": "2025-01-01T00:16:22.922799Z", "created_by": { "banned": false, "birthland": "Tatooine", @@ -59,21 +59,21 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "disabled": false, "frozen": false, "hidden": false, - "id": "f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "last_message_at": "2024-12-15T00:17:27.873083Z", + "id": "a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "last_message_at": "2025-01-01T00:16:25.488868Z", "member_count": 4, "name": "Sync Mock Server", "own_capabilities": [ @@ -81,11 +81,10 @@ "cast-poll-vote", "connect-events", "create-attachment", - "create-call", + "delete-any-message", "delete-channel", "delete-own-message", "flag-message", - "join-call", "join-channel", "leave-channel", "mute-channel", @@ -101,8 +100,10 @@ "send-reaction", "send-reply", "send-typing-events", + "set-channel-cooldown", "skip-slow-mode", "typing-events", + "update-any-message", "update-channel", "update-channel-members", "update-own-message", @@ -110,19 +111,19 @@ "upload-file" ], "type": "messaging", - "updated_at": "2024-12-15T00:17:22.983618Z" + "updated_at": "2025-01-01T00:16:22.922799Z" }, - "duration": "36.43ms", + "duration": "33.80ms", "members": [ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "member", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Serenno", @@ -143,12 +144,12 @@ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "member", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Corellia", @@ -157,7 +158,7 @@ "id": "han_solo", "image": "https://vignette.wikia.nocookie.net/starwars/images/e/e2/TFAHanSolo.png", "language": "", - "last_active": "2024-12-13T01:46:40.167522Z", + "last_active": "2025-01-01T00:10:00.346162335Z", "name": "Han Solo", "online": false, "role": "user", @@ -169,12 +170,12 @@ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "owner", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Tatooine", @@ -183,27 +184,27 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "user_id": "luke_skywalker" }, { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:28.334595Z", + "created_at": "2025-01-01T00:16:25.938072Z", "notifications_muted": false, "role": "admin", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:28.334595Z", + "updated_at": "2025-01-01T00:16:25.938072Z", "user": { "banned": false, "birthland": "Polis Massa", @@ -212,9 +213,9 @@ "id": "leia_organa", "image": "https://vignette.wikia.nocookie.net/starwars/images/f/fc/Leia_Organa_TLJ.png", "language": "ru", - "last_active": "2024-12-15T00:17:14.974453938Z", - "name": "Leia Organa", - "online": true, + "last_active": "2024-12-31T07:04:09.883903Z", + "name": "John Doe", + "online": false, "private_settings": { "readReceipts": { "enabled": false @@ -225,7 +226,7 @@ }, "role": "admin", "teams": [], - "updated_at": "2024-11-06T19:37:19.402099Z" + "updated_at": "2024-12-30T05:55:49.436894Z" }, "user_id": "leia_organa" } diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_attachment.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_attachment.json index 3453baafb5..2425fe9088 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_attachment.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_attachment.json @@ -1,4 +1,4 @@ { - "duration": "336.40ms", - "file": "https://frankfurt.stream-io-cdn.com/102399/images/5d7d9ad5-f0b3-4dfb-9a3c-458c11c84da5.yoda.jpg?Key-Pair-Id=APKAIHG36VEWPDULE23Q&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9mcmFua2Z1cnQuc3RyZWFtLWlvLWNkbi5jb20vMTAyMzk5L2ltYWdlcy81ZDdkOWFkNS1mMGIzLTRkZmItOWEzYy00NThjMTFjODRkYTUueW9kYS5qcGc~Km9oPTUxNSpvdz01MTUqIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzM1NDMxNDQ4fX19XX0_&Signature=N8M76y4kDjDAyUxtysXdvBcju2Xk-6BjBmmQeJz47FYctdO~s8YXLAOiOjQK6xs-ujgNzR4SyEBx54IvMXYxgXxSpHeP9RvxZKsFDWH9UojKNZOPFcnlEbMRh6uSV5~p7AwLZJbJMJuZDzsGWJibbyZYK~8t5FQpLSE4yDtQkqGWFXBwTV8HSP3yYMG-51kYjGBqaI-LwZeRyJnGcNFuNTXGVu~-nkMUiE8OhK6PcXSMklsLsabwgBVKtQDLBen07fytyLVniLD1U2zmUmJ3OY-5Y-1sOYkukewfXuXHPBQZFG0S9o2whU7x19Syl5xZJQJpVnpriWZq1CgNIzEAZA__&oh=515&ow=515" + "duration": "302.41ms", + "file": "https://frankfurt.stream-io-cdn.com/102399/images/e2b17235-0c48-47eb-8894-190e05d78553.yoda.jpg?Key-Pair-Id=APKAIHG36VEWPDULE23Q&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9mcmFua2Z1cnQuc3RyZWFtLWlvLWNkbi5jb20vMTAyMzk5L2ltYWdlcy9lMmIxNzIzNS0wYzQ4LTQ3ZWItODg5NC0xOTBlMDVkNzg1NTMueW9kYS5qcGc~Km9oPTUxNSpvdz01MTUqIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzM2OTAwMTg2fX19XX0_&Signature=MR-OT6e62TQsVAMWKGCL9UnE5V6q58GX7vjADSKYWQY~ytZpdNHwThuB1-GhwKjk9PTWx-mmosWy0Zp1eJbf7SZTY1fuo82iRTU4p~DXWMnk4~l25xEEOcRdG~ln2m9EJxsQYVXqKH6aib7A9rMd2pIuPVMnPGPWyGN9CtHSGd9S-kLJuqdxELxTEoPFHPF8BufYH2wEgrVjPC6SC8PSIgpcb7O8gICTpeO8Itvghr94FpUfdL7hKWPqcGYBfyaFKTiV5JyiP-TM5~hM8fAL63iMHX29CIeGQFP-2GlrhBbIa5bPnds7hhnBNCAgJRpu7TOzpgL0JE-ibXezYYR6tQ__&oh=515&ow=515" } \ No newline at end of file diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channel_creation.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channel_creation.json index fde72856b0..c1a9b3f183 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channel_creation.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channel_creation.json @@ -1,7 +1,7 @@ { "channel": { "blocked": false, - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", "config": { "automod": "AI", "automod_behavior": "block", @@ -51,7 +51,7 @@ "uploads": true, "url_enrichment": true }, - "created_at": "2024-12-15T00:17:22.983618Z", + "created_at": "2025-01-01T00:16:22.922799Z", "created_by": { "banned": false, "birthland": "Tatooine", @@ -60,20 +60,20 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "disabled": false, "frozen": false, "hidden": false, - "id": "f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", + "id": "a1697d5c-c7d5-11ef-b210-ca08f9476ff8", "member_count": 3, "name": "Sync Mock Server", "own_capabilities": [ @@ -81,11 +81,10 @@ "cast-poll-vote", "connect-events", "create-attachment", - "create-call", + "delete-any-message", "delete-channel", "delete-own-message", "flag-message", - "join-call", "join-channel", "leave-channel", "mute-channel", @@ -101,8 +100,10 @@ "send-reaction", "send-reply", "send-typing-events", + "set-channel-cooldown", "skip-slow-mode", "typing-events", + "update-any-message", "update-channel", "update-channel-members", "update-own-message", @@ -110,19 +111,19 @@ "upload-file" ], "type": "messaging", - "updated_at": "2024-12-15T00:17:22.983618Z" + "updated_at": "2025-01-01T00:16:22.922799Z" }, - "duration": "121.72ms", + "duration": "82.74ms", "members": [ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "member", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Serenno", @@ -143,12 +144,12 @@ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "member", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Corellia", @@ -157,7 +158,7 @@ "id": "han_solo", "image": "https://vignette.wikia.nocookie.net/starwars/images/e/e2/TFAHanSolo.png", "language": "", - "last_active": "2024-12-13T01:46:40.167522Z", + "last_active": "2025-01-01T00:10:00.346162335Z", "name": "Han Solo", "online": false, "role": "user", @@ -169,12 +170,12 @@ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "owner", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Tatooine", @@ -183,15 +184,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "user_id": "luke_skywalker" } @@ -199,12 +200,12 @@ "membership": { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "owner", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Tatooine", @@ -213,22 +214,22 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } }, "messages": [], "pinned_messages": [], "read": [ { - "last_read": "2024-12-15T00:17:23.052302362Z", + "last_read": "2025-01-01T00:16:22.955701484Z", "unread_messages": 0, "user": { "banned": false, @@ -247,7 +248,7 @@ } }, { - "last_read": "2024-12-15T00:17:23.052302362Z", + "last_read": "2025-01-01T00:16:22.955701484Z", "unread_messages": 0, "user": { "banned": false, @@ -257,7 +258,7 @@ "id": "han_solo", "image": "https://vignette.wikia.nocookie.net/starwars/images/e/e2/TFAHanSolo.png", "language": "", - "last_active": "2024-12-13T01:46:40.167522Z", + "last_active": "2025-01-01T00:10:00.346162335Z", "name": "Han Solo", "online": false, "role": "user", @@ -266,7 +267,7 @@ } }, { - "last_read": "2024-12-15T00:17:23.052302362Z", + "last_read": "2025-01-01T00:16:22.955701484Z", "unread_messages": 0, "user": { "banned": false, @@ -276,15 +277,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } } ], diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channel_removal.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channel_removal.json index 5e33549841..7c36978a31 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channel_removal.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channel_removal.json @@ -1,6 +1,6 @@ { "channel": { - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", "config": { "automod": "AI", "automod_behavior": "block", @@ -50,22 +50,22 @@ "uploads": true, "url_enrichment": true }, - "created_at": "2024-12-15T00:17:22.983618Z", + "created_at": "2025-01-01T00:16:22.922799Z", "created_by": null, - "deleted_at": "2024-12-15T00:17:31.403118Z", + "deleted_at": "2025-01-01T00:16:29.153057Z", "disabled": false, "frozen": false, - "id": "f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", + "id": "a1697d5c-c7d5-11ef-b210-ca08f9476ff8", "members": [ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "member", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Serenno", @@ -86,12 +86,12 @@ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "member", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Corellia", @@ -100,7 +100,7 @@ "id": "han_solo", "image": "https://vignette.wikia.nocookie.net/starwars/images/e/e2/TFAHanSolo.png", "language": "", - "last_active": "2024-12-13T01:46:40.167522Z", + "last_active": "2025-01-01T00:10:00.346162335Z", "name": "Han Solo", "online": false, "role": "user", @@ -112,12 +112,12 @@ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "owner", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Tatooine", @@ -126,27 +126,27 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "user_id": "luke_skywalker" }, { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:28.334595Z", + "created_at": "2025-01-01T00:16:25.938072Z", "notifications_muted": false, "role": "admin", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:28.334595Z", + "updated_at": "2025-01-01T00:16:25.938072Z", "user": { "banned": false, "birthland": "Polis Massa", @@ -155,9 +155,9 @@ "id": "leia_organa", "image": "https://vignette.wikia.nocookie.net/starwars/images/f/fc/Leia_Organa_TLJ.png", "language": "ru", - "last_active": "2024-12-15T00:17:14.974453938Z", - "name": "Leia Organa", - "online": true, + "last_active": "2024-12-31T07:04:09.883903Z", + "name": "John Doe", + "online": false, "private_settings": { "readReceipts": { "enabled": false @@ -168,12 +168,12 @@ }, "role": "admin", "teams": [], - "updated_at": "2024-11-06T19:37:19.402099Z" + "updated_at": "2024-12-30T05:55:49.436894Z" }, "user_id": "leia_organa" } ], - "truncated_at": "2024-12-15T00:17:31.403118Z", + "truncated_at": "2025-01-01T00:16:29.153057Z", "truncated_by": { "banned": false, "birthland": "Tatooine", @@ -182,18 +182,18 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "type": "messaging", - "updated_at": "2024-12-15T00:17:31.134373Z" + "updated_at": "2025-01-01T00:16:28.893116Z" }, - "duration": "28.02ms" + "duration": "28.95ms" } \ No newline at end of file diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channels.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channels.json index e83372ae16..5e4ef5e25a 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channels.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_channels.json @@ -3,7 +3,7 @@ { "channel": { "blocked": false, - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", "config": { "automod": "AI", "automod_behavior": "block", @@ -53,7 +53,7 @@ "uploads": true, "url_enrichment": true }, - "created_at": "2024-12-15T00:17:22.983618Z", + "created_at": "2025-01-01T00:16:22.922799Z", "created_by": { "banned": false, "birthland": "Tatooine", @@ -62,20 +62,20 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "disabled": false, "frozen": false, "hidden": false, - "id": "f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", + "id": "a1697d5c-c7d5-11ef-b210-ca08f9476ff8", "member_count": 3, "name": "Sync Mock Server", "own_capabilities": [ @@ -83,11 +83,10 @@ "cast-poll-vote", "connect-events", "create-attachment", - "create-call", + "delete-any-message", "delete-channel", "delete-own-message", "flag-message", - "join-call", "join-channel", "leave-channel", "mute-channel", @@ -103,8 +102,10 @@ "send-reaction", "send-reply", "send-typing-events", + "set-channel-cooldown", "skip-slow-mode", "typing-events", + "update-any-message", "update-channel", "update-channel-members", "update-own-message", @@ -112,18 +113,18 @@ "upload-file" ], "type": "messaging", - "updated_at": "2024-12-15T00:17:22.983618Z" + "updated_at": "2025-01-01T00:16:22.922799Z" }, "members": [ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "member", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Serenno", @@ -144,12 +145,12 @@ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "member", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Corellia", @@ -158,7 +159,7 @@ "id": "han_solo", "image": "https://vignette.wikia.nocookie.net/starwars/images/e/e2/TFAHanSolo.png", "language": "", - "last_active": "2024-12-13T01:46:40.167522Z", + "last_active": "2025-01-01T00:10:00.346162335Z", "name": "Han Solo", "online": false, "role": "user", @@ -170,12 +171,12 @@ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "owner", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Tatooine", @@ -184,15 +185,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "user_id": "luke_skywalker" } @@ -200,11 +201,11 @@ "membership": { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Tatooine", @@ -213,22 +214,22 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } }, "messages": [], "pinned_messages": [], "read": [ { - "last_read": "2024-12-15T00:17:23.052302362Z", + "last_read": "2025-01-01T00:16:22.955701484Z", "unread_messages": 0, "user": { "banned": false, @@ -247,7 +248,7 @@ } }, { - "last_read": "2024-12-15T00:17:23.052302362Z", + "last_read": "2025-01-01T00:16:22.955701484Z", "unread_messages": 0, "user": { "banned": false, @@ -257,7 +258,7 @@ "id": "han_solo", "image": "https://vignette.wikia.nocookie.net/starwars/images/e/e2/TFAHanSolo.png", "language": "", - "last_active": "2024-12-13T01:46:40.167522Z", + "last_active": "2025-01-01T00:10:00.346162335Z", "name": "Han Solo", "online": false, "role": "user", @@ -266,7 +267,7 @@ } }, { - "last_read": "2024-12-15T00:17:23.052302362Z", + "last_read": "2025-01-01T00:16:22.955701484Z", "unread_messages": 0, "user": { "banned": false, @@ -276,15 +277,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } } ], @@ -292,5 +293,5 @@ "watcher_count": 1 } ], - "duration": "98.80ms" + "duration": "280.70ms" } \ No newline at end of file diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_events.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_events.json index f6cfd71db4..944ceae4e3 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_events.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_events.json @@ -1,10 +1,10 @@ { - "duration": "6.06ms", + "duration": "6.48ms", "event": { - "channel_id": "f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", + "channel_id": "a1697d5c-c7d5-11ef-b210-ca08f9476ff8", "channel_type": "messaging", - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "created_at": "2024-12-15T00:17:26.896496308Z", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "created_at": "2025-01-01T00:16:24.593960712Z", "type": "typing.start", "user": { "banned": false, @@ -14,15 +14,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } } } \ No newline at end of file diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_message.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_message.json index 169e9af02b..7f35a5e500 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_message.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_message.json @@ -1,12 +1,12 @@ { - "duration": "820.33ms", + "duration": "733.42ms", "message": { "attachments": [], - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "created_at": "2024-12-15T00:17:27.873083Z", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "created_at": "2025-01-01T00:16:25.488868Z", "deleted_reply_count": 0, "html": "
Test
\n", - "id": "f6fbc040-ba79-11ef-8e04-aa9e61e8bc3b", + "id": "a2c7337e-c7d5-11ef-b210-ca08f9476ff8", "latest_reactions": [], "mentioned_users": [], "own_reactions": [], @@ -21,7 +21,7 @@ "silent": false, "text": "Test", "type": "regular", - "updated_at": "2024-12-15T00:17:27.873083Z", + "updated_at": "2025-01-01T00:16:25.488868Z", "user": { "banned": false, "birthland": "Tatooine", @@ -30,15 +30,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } } } \ No newline at end of file diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_message_ephemeral.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_message_ephemeral.json index 4cdfb7b6b1..35447f469d 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_message_ephemeral.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_message_ephemeral.json @@ -1,5 +1,5 @@ { - "duration": "253.12ms", + "duration": "294.88ms", "message": { "args": "Test", "attachments": [ @@ -31,65 +31,65 @@ "fixed_height": { "frames": "", "height": "200", - "size": "98675", - "url": "https://media0.giphy.com/media/MljmFaS0Cs4A1T10RU/200.gif?cid=c4b03675g1y7jcst79jc5n3wh5dc3kf8tfybl1ayf3iprxdy&ep=v1_gifs_search&rid=200.gif&ct=g", - "width": "200" + "size": "568679", + "url": "https://media2.giphy.com/media/cJ7gVV0QL9RPG/200.gif?cid=c4b0367561j5rh49tf9tmz55euiefsf6z9xchdvs6chu7r9f&ep=v1_gifs_search&rid=200.gif&ct=g", + "width": "318" }, "fixed_height_downsampled": { "frames": "", "height": "200", - "size": "25048", - "url": "https://media0.giphy.com/media/MljmFaS0Cs4A1T10RU/200_d.gif?cid=c4b03675g1y7jcst79jc5n3wh5dc3kf8tfybl1ayf3iprxdy&ep=v1_gifs_search&rid=200_d.gif&ct=g", - "width": "200" + "size": "152752", + "url": "https://media2.giphy.com/media/cJ7gVV0QL9RPG/200_d.gif?cid=c4b0367561j5rh49tf9tmz55euiefsf6z9xchdvs6chu7r9f&ep=v1_gifs_search&rid=200_d.gif&ct=g", + "width": "318" }, "fixed_height_still": { "frames": "", "height": "200", - "size": "19792", - "url": "https://media0.giphy.com/media/MljmFaS0Cs4A1T10RU/200_s.gif?cid=c4b03675g1y7jcst79jc5n3wh5dc3kf8tfybl1ayf3iprxdy&ep=v1_gifs_search&rid=200_s.gif&ct=g", - "width": "200" + "size": "23937", + "url": "https://media2.giphy.com/media/cJ7gVV0QL9RPG/200_s.gif?cid=c4b0367561j5rh49tf9tmz55euiefsf6z9xchdvs6chu7r9f&ep=v1_gifs_search&rid=200_s.gif&ct=g", + "width": "318" }, "fixed_width": { "frames": "", - "height": "200", - "size": "98675", - "url": "https://media0.giphy.com/media/MljmFaS0Cs4A1T10RU/200w.gif?cid=c4b03675g1y7jcst79jc5n3wh5dc3kf8tfybl1ayf3iprxdy&ep=v1_gifs_search&rid=200w.gif&ct=g", + "height": "126", + "size": "387570", + "url": "https://media2.giphy.com/media/cJ7gVV0QL9RPG/200w.gif?cid=c4b0367561j5rh49tf9tmz55euiefsf6z9xchdvs6chu7r9f&ep=v1_gifs_search&rid=200w.gif&ct=g", "width": "200" }, "fixed_width_downsampled": { "frames": "", - "height": "200", - "size": "25048", - "url": "https://media0.giphy.com/media/MljmFaS0Cs4A1T10RU/200w_d.gif?cid=c4b03675g1y7jcst79jc5n3wh5dc3kf8tfybl1ayf3iprxdy&ep=v1_gifs_search&rid=200w_d.gif&ct=g", + "height": "126", + "size": "89634", + "url": "https://media2.giphy.com/media/cJ7gVV0QL9RPG/200w_d.gif?cid=c4b0367561j5rh49tf9tmz55euiefsf6z9xchdvs6chu7r9f&ep=v1_gifs_search&rid=200w_d.gif&ct=g", "width": "200" }, "fixed_width_still": { "frames": "", - "height": "200", - "size": "19792", - "url": "https://media0.giphy.com/media/MljmFaS0Cs4A1T10RU/200w_s.gif?cid=c4b03675g1y7jcst79jc5n3wh5dc3kf8tfybl1ayf3iprxdy&ep=v1_gifs_search&rid=200w_s.gif&ct=g", + "height": "126", + "size": "15905", + "url": "https://media2.giphy.com/media/cJ7gVV0QL9RPG/200w_s.gif?cid=c4b0367561j5rh49tf9tmz55euiefsf6z9xchdvs6chu7r9f&ep=v1_gifs_search&rid=200w_s.gif&ct=g", "width": "200" }, "original": { - "frames": "32", - "height": "480", - "size": "311251", - "url": "https://media0.giphy.com/media/MljmFaS0Cs4A1T10RU/giphy.gif?cid=c4b03675g1y7jcst79jc5n3wh5dc3kf8tfybl1ayf3iprxdy&ep=v1_gifs_search&rid=giphy.gif&ct=g", - "width": "480" + "frames": "25", + "height": "157", + "size": "509090", + "url": "https://media2.giphy.com/media/cJ7gVV0QL9RPG/giphy.gif?cid=c4b0367561j5rh49tf9tmz55euiefsf6z9xchdvs6chu7r9f&ep=v1_gifs_search&rid=giphy.gif&ct=g", + "width": "250" } }, - "thumb_url": "https://media0.giphy.com/media/MljmFaS0Cs4A1T10RU/giphy.gif?cid=c4b03675g1y7jcst79jc5n3wh5dc3kf8tfybl1ayf3iprxdy&ep=v1_gifs_search&rid=giphy.gif&ct=g", + "thumb_url": "https://media2.giphy.com/media/cJ7gVV0QL9RPG/giphy.gif?cid=c4b0367561j5rh49tf9tmz55euiefsf6z9xchdvs6chu7r9f&ep=v1_gifs_search&rid=giphy.gif&ct=g", "title": "Test", - "title_link": "https://giphy.com/gifs/pudgypenguins-school-copy-copying-MljmFaS0Cs4A1T10RU", + "title_link": "https://giphy.com/gifs/school-test-annoyed-cJ7gVV0QL9RPG", "type": "giphy" } ], - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", "command": "giphy", "command_info": { "name": "Giphy" }, - "created_at": "2024-12-15T00:17:29.342642Z", + "created_at": "2025-01-01T00:16:26.937546Z", "deleted_reply_count": 0, "html": "/giphy Test
\n", "i18n": { @@ -97,7 +97,7 @@ "language": "en", "ru_text": "/giphy ัะตัั" }, - "id": "f82b5610-ba79-11ef-8e04-aa9e61e8bc3b", + "id": "a3e36d54-c7d5-11ef-b210-ca08f9476ff8", "latest_reactions": [], "mentioned_users": [], "own_reactions": [], @@ -112,7 +112,7 @@ "silent": false, "text": "/giphy Test", "type": "ephemeral", - "updated_at": "2024-12-15T00:17:29.342642Z", + "updated_at": "2025-01-01T00:16:26.937546Z", "user": { "banned": false, "birthland": "Tatooine", @@ -121,15 +121,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } } } \ No newline at end of file diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_reaction.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_reaction.json index 7424005b0b..50e1076d65 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_reaction.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_reaction.json @@ -1,19 +1,19 @@ { - "duration": "31.48ms", + "duration": "26.85ms", "message": { "attachments": [], - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "created_at": "2024-12-15T00:17:27.873083Z", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "created_at": "2025-01-01T00:16:25.488868Z", "deleted_reply_count": 0, "html": "Test
\n", - "id": "f6fbc040-ba79-11ef-8e04-aa9e61e8bc3b", + "id": "a2c7337e-c7d5-11ef-b210-ca08f9476ff8", "latest_reactions": [ { - "created_at": "2024-12-15T00:17:28.109001Z", - "message_id": "f6fbc040-ba79-11ef-8e04-aa9e61e8bc3b", + "created_at": "2025-01-01T00:16:25.721327Z", + "message_id": "a2c7337e-c7d5-11ef-b210-ca08f9476ff8", "score": 1, "type": "like", - "updated_at": "2024-12-15T00:17:28.109001Z", + "updated_at": "2025-01-01T00:16:25.721327Z", "user": { "banned": false, "birthland": "Tatooine", @@ -22,15 +22,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "user_id": "luke_skywalker" } @@ -38,11 +38,11 @@ "mentioned_users": [], "own_reactions": [ { - "created_at": "2024-12-15T00:17:28.109001Z", - "message_id": "f6fbc040-ba79-11ef-8e04-aa9e61e8bc3b", + "created_at": "2025-01-01T00:16:25.721327Z", + "message_id": "a2c7337e-c7d5-11ef-b210-ca08f9476ff8", "score": 1, "type": "like", - "updated_at": "2024-12-15T00:17:28.109001Z", + "updated_at": "2025-01-01T00:16:25.721327Z", "user": { "banned": false, "birthland": "Tatooine", @@ -51,15 +51,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "user_id": "luke_skywalker" } @@ -74,8 +74,8 @@ "reaction_groups": { "like": { "count": 1, - "first_reaction_at": "2024-12-15T00:17:28.109001Z", - "last_reaction_at": "2024-12-15T00:17:28.109001Z", + "first_reaction_at": "2025-01-01T00:16:25.721327Z", + "last_reaction_at": "2025-01-01T00:16:25.721327Z", "sum_scores": 1 } }, @@ -87,7 +87,7 @@ "silent": false, "text": "Test", "type": "regular", - "updated_at": "2024-12-15T00:17:28.120509Z", + "updated_at": "2025-01-01T00:16:25.728717Z", "user": { "banned": false, "birthland": "Tatooine", @@ -96,23 +96,23 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } }, "reaction": { - "created_at": "2024-12-15T00:17:28.109001Z", - "message_id": "f6fbc040-ba79-11ef-8e04-aa9e61e8bc3b", + "created_at": "2025-01-01T00:16:25.721327Z", + "message_id": "a2c7337e-c7d5-11ef-b210-ca08f9476ff8", "score": 1, "type": "like", - "updated_at": "2024-12-15T00:17:28.109001Z", + "updated_at": "2025-01-01T00:16:25.721327Z", "user": { "banned": false, "birthland": "Tatooine", @@ -121,15 +121,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "user_id": "luke_skywalker" } diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_truncate.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_truncate.json index e986e99b26..2bcfaf84ba 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_truncate.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_truncate.json @@ -1,6 +1,6 @@ { "channel": { - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", "config": { "automod": "AI", "automod_behavior": "block", @@ -50,7 +50,7 @@ "uploads": true, "url_enrichment": true }, - "created_at": "2024-12-15T00:17:22.983618Z", + "created_at": "2025-01-01T00:16:22.922799Z", "created_by": { "banned": false, "birthland": "Tatooine", @@ -59,31 +59,31 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "disabled": false, "frozen": false, - "id": "f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", + "id": "a1697d5c-c7d5-11ef-b210-ca08f9476ff8", "last_message_at": "0001-01-01T00:00:00Z", "member_count": 4, "members": [ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "member", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Serenno", @@ -104,12 +104,12 @@ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "member", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Corellia", @@ -118,7 +118,7 @@ "id": "han_solo", "image": "https://vignette.wikia.nocookie.net/starwars/images/e/e2/TFAHanSolo.png", "language": "", - "last_active": "2024-12-13T01:46:40.167522Z", + "last_active": "2025-01-01T00:10:00.346162335Z", "name": "Han Solo", "online": false, "role": "user", @@ -130,12 +130,12 @@ { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "role": "owner", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Tatooine", @@ -144,27 +144,27 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "user_id": "luke_skywalker" }, { "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:28.334595Z", + "created_at": "2025-01-01T00:16:25.938072Z", "notifications_muted": false, "role": "admin", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:28.334595Z", + "updated_at": "2025-01-01T00:16:25.938072Z", "user": { "banned": false, "birthland": "Polis Massa", @@ -173,9 +173,9 @@ "id": "leia_organa", "image": "https://vignette.wikia.nocookie.net/starwars/images/f/fc/Leia_Organa_TLJ.png", "language": "ru", - "last_active": "2024-12-15T00:17:14.974453938Z", - "name": "Leia Organa", - "online": true, + "last_active": "2024-12-31T07:04:09.883903Z", + "name": "John Doe", + "online": false, "private_settings": { "readReceipts": { "enabled": false @@ -186,13 +186,13 @@ }, "role": "admin", "teams": [], - "updated_at": "2024-11-06T19:37:19.402099Z" + "updated_at": "2024-12-30T05:55:49.436894Z" }, "user_id": "leia_organa" } ], "name": "Sync Mock Server", - "truncated_at": "2024-12-15T00:17:31.126452Z", + "truncated_at": "2025-01-01T00:16:28.887652Z", "truncated_by": { "banned": false, "birthland": "Tatooine", @@ -201,27 +201,27 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "type": "messaging", - "updated_at": "2024-12-15T00:17:31.134373Z" + "updated_at": "2025-01-01T00:16:28.893116Z" }, - "duration": "78.08ms", + "duration": "69.23ms", "message": { "attachments": [], - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "created_at": "2024-12-15T00:17:31.126453Z", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "created_at": "2025-01-01T00:16:28.887653Z", "deleted_reply_count": 0, "html": "Channel truncated
\n", - "id": "f9636aa4-ba79-11ef-8e04-aa9e61e8bc3b", + "id": "a538d87e-c7d5-11ef-b210-ca08f9476ff8", "latest_reactions": [], "mentioned_users": [], "own_reactions": [], @@ -236,7 +236,7 @@ "silent": false, "text": "Channel truncated", "type": "system", - "updated_at": "2024-12-15T00:17:31.126453Z", + "updated_at": "2025-01-01T00:16:28.887653Z", "user": { "banned": false, "birthland": "Tatooine", @@ -245,15 +245,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } } } \ No newline at end of file diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_unsplash_link.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_unsplash_link.json index 64934a69ab..bc9ecf73b3 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_unsplash_link.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_unsplash_link.json @@ -1,19 +1,19 @@ { - "duration": "781.33ms", + "duration": "1037.86ms", "message": { "attachments": [ { - "image_url": "https://images.unsplash.com/photo-1568574728383-06fca083883d?mark=https%3A%2F%2Fimages.unsplash.com%2Fopengraph%2Flogo.png&mark-w=64&mark-align=top%2Cleft&mark-pad=50&h=630&w=1200&crop=faces%2Cedges&blend-w=1&blend=000000&blend-mode=normal&blend-alpha=10&auto=format&fit=crop&q=60&ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzM0MjIxODUwfA&ixlib=rb-4.0.3", + "image_url": "https://images.unsplash.com/photo-1568574728383-06fca083883d?mark=https%3A%2F%2Fimages.unsplash.com%2Fopengraph%2Flogo.png&mark-w=64&mark-align=top%2Cleft&mark-pad=50&h=630&w=1200&crop=faces%2Cedges&blend-w=1&blend=000000&blend-mode=normal&blend-alpha=10&auto=format&fit=crop&q=60&ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzM1NjkwNTg4fA&ixlib=rb-4.0.3", "og_scrape_url": "https://unsplash.com/photos/1_2d3MRbI9c", "text": "Download this photo by Joao Branco on Unsplash", - "thumb_url": "https://images.unsplash.com/photo-1568574728383-06fca083883d?mark=https%3A%2F%2Fimages.unsplash.com%2Fopengraph%2Flogo.png&mark-w=64&mark-align=top%2Cleft&mark-pad=50&h=630&w=1200&crop=faces%2Cedges&blend-w=1&blend=000000&blend-mode=normal&blend-alpha=10&auto=format&fit=crop&q=60&ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzM0MjIxODUwfA&ixlib=rb-4.0.3", + "thumb_url": "https://images.unsplash.com/photo-1568574728383-06fca083883d?mark=https%3A%2F%2Fimages.unsplash.com%2Fopengraph%2Flogo.png&mark-w=64&mark-align=top%2Cleft&mark-pad=50&h=630&w=1200&crop=faces%2Cedges&blend-w=1&blend=000000&blend-mode=normal&blend-alpha=10&auto=format&fit=crop&q=60&ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzM1NjkwNTg4fA&ixlib=rb-4.0.3", "title": "Photo by Joao Branco on Unsplash", "title_link": "https://unsplash.com/photos/green-pine-tree-mountain-slope-scenery-1_2d3MRbI9c", "type": "image" } ], - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "created_at": "2024-12-15T00:17:30.90486Z", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "created_at": "2025-01-01T00:16:28.660955Z", "deleted_reply_count": 0, "html": "https://unsplash.com/photos/1_2d3MRbI9c
\n", "i18n": { @@ -21,7 +21,7 @@ "language": "en", "ru_text": "https://unsplash.com/photos/1_2d3MRbI9c" }, - "id": "f8cf47de-ba79-11ef-8e04-aa9e61e8bc3b", + "id": "a47c2436-c7d5-11ef-b210-ca08f9476ff8", "latest_reactions": [], "mentioned_users": [], "own_reactions": [], @@ -36,7 +36,7 @@ "silent": false, "text": "https://unsplash.com/photos/1_2d3MRbI9c", "type": "regular", - "updated_at": "2024-12-15T00:17:30.90486Z", + "updated_at": "2025-01-01T00:16:28.660955Z", "user": { "banned": false, "birthland": "Tatooine", @@ -45,15 +45,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } } } \ No newline at end of file diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_youtube_link.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_youtube_link.json index f7d7b5ac97..6d99c439b5 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_youtube_link.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/http_youtube_link.json @@ -1,5 +1,5 @@ { - "duration": "418.97ms", + "duration": "319.98ms", "message": { "attachments": [ { @@ -14,8 +14,8 @@ "type": "video" } ], - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "created_at": "2024-12-15T00:17:29.928702Z", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "created_at": "2025-01-01T00:16:27.423599Z", "deleted_reply_count": 0, "html": "https://youtube.com/watch?v=xOX7MsrbaPY
\n", "i18n": { @@ -23,7 +23,7 @@ "language": "en", "ru_text": "https://youtube.com/watch?v=xOX7MsrbaPY" }, - "id": "f8722e64-ba79-11ef-8e04-aa9e61e8bc3b", + "id": "a42dc2d2-c7d5-11ef-b210-ca08f9476ff8", "latest_reactions": [], "mentioned_users": [], "own_reactions": [], @@ -38,7 +38,7 @@ "silent": false, "text": "https://youtube.com/watch?v=xOX7MsrbaPY", "type": "regular", - "updated_at": "2024-12-15T00:17:29.928702Z", + "updated_at": "2025-01-01T00:16:27.423599Z", "user": { "banned": false, "birthland": "Tatooine", @@ -47,15 +47,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.556367108Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "teams": [], "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } } } \ No newline at end of file diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_events.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_events.json index 3e4f0b8c91..8c7e38849f 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_events.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_events.json @@ -1,8 +1,8 @@ { - "channel_id": "f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", + "channel_id": "a1697d5c-c7d5-11ef-b210-ca08f9476ff8", "channel_type": "messaging", - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "created_at": "2024-12-15T00:17:26.896496308Z", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "created_at": "2025-01-01T00:16:24.593960712Z", "type": "typing.start", "user": { "banned": false, @@ -11,14 +11,14 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.439083826Z", - "last_engaged_at": "2024-12-14T03:24:53.473819Z", + "last_active": "2025-01-01T00:16:22.080976834Z", + "last_engaged_at": "2025-01-01T00:00:16.529046Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } } \ No newline at end of file diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_events_channel.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_events_channel.json index 47e1a58b52..00f279e7d9 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_events_channel.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_events_channel.json @@ -1,6 +1,6 @@ { "channel": { - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", "config": { "automod": "AI", "automod_behavior": "block", @@ -50,7 +50,7 @@ "uploads": true, "url_enrichment": true }, - "created_at": "2024-12-15T00:17:22.983618Z", + "created_at": "2025-01-01T00:16:22.922799Z", "created_by": { "banned": false, "birthland": "Tatooine", @@ -58,33 +58,33 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.439083826Z", - "last_engaged_at": "2024-12-14T03:24:53.473819Z", + "last_active": "2025-01-01T00:16:22.080976834Z", + "last_engaged_at": "2025-01-01T00:00:16.529046Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "disabled": false, "frozen": false, - "id": "f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "last_message_at": "2024-12-15T00:17:27.873083Z", + "id": "a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "last_message_at": "2025-01-01T00:16:25.488868Z", "member_count": 4, "members": [ { "archived_at": null, "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "pinned_at": null, "role": "member", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Serenno", @@ -92,7 +92,7 @@ "id": "count_dooku", "image": "https://vignette.wikia.nocookie.net/starwars/images/b/b8/Dooku_Headshot.jpg", "last_active": "2024-12-03T08:41:02.703161Z", - "last_engaged_at": "2024-12-13T03:21:17.928931Z", + "last_engaged_at": "2024-12-26T03:48:47.424708Z", "name": "Count Dooku", "online": false, "role": "user", @@ -104,21 +104,21 @@ "archived_at": null, "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "pinned_at": null, "role": "member", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Corellia", "created_at": "2024-04-04T09:18:11.060737Z", "id": "han_solo", "image": "https://vignette.wikia.nocookie.net/starwars/images/e/e2/TFAHanSolo.png", - "last_active": "2024-12-13T01:46:40.167522Z", - "last_engaged_at": "2024-12-13T00:15:34.023648Z", + "last_active": "2025-01-01T00:09:25.326227797Z", + "last_engaged_at": "2024-12-31T05:30:03.105532Z", "name": "Han Solo", "online": false, "role": "user", @@ -130,13 +130,13 @@ "archived_at": null, "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:22.993471Z", + "created_at": "2025-01-01T00:16:22.928435Z", "notifications_muted": false, "pinned_at": null, "role": "owner", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:22.993471Z", + "updated_at": "2025-01-01T00:16:22.928435Z", "user": { "banned": false, "birthland": "Tatooine", @@ -144,15 +144,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.439083826Z", - "last_engaged_at": "2024-12-14T03:24:53.473819Z", + "last_active": "2025-01-01T00:16:22.080976834Z", + "last_engaged_at": "2025-01-01T00:00:16.529046Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "user_id": "luke_skywalker" }, @@ -160,13 +160,13 @@ "archived_at": null, "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:28.334595Z", + "created_at": "2025-01-01T00:16:25.938072Z", "notifications_muted": false, "pinned_at": null, "role": "admin", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:28.334595Z", + "updated_at": "2025-01-01T00:16:25.938072Z", "user": { "banned": false, "birthland": "Polis Massa", @@ -174,10 +174,10 @@ "id": "leia_organa", "image": "https://vignette.wikia.nocookie.net/starwars/images/f/fc/Leia_Organa_TLJ.png", "language": "ru", - "last_active": "2024-12-15T00:08:04.978602669Z", - "last_engaged_at": "2024-12-13T00:06:05.605994Z", - "name": "Leia Organa", - "online": true, + "last_active": "2024-12-31T07:04:09.883903Z", + "last_engaged_at": "2024-12-31T06:25:39.167646Z", + "name": "John Doe", + "online": false, "private_settings": { "readReceipts": { "enabled": false @@ -187,20 +187,20 @@ } }, "role": "admin", - "updated_at": "2024-11-06T19:37:19.402099Z" + "updated_at": "2024-12-30T05:55:49.436894Z" }, "user_id": "leia_organa" } ], "name": "Sync Mock Server", "type": "messaging", - "updated_at": "2024-12-15T00:17:22.983618Z" + "updated_at": "2025-01-01T00:16:22.922799Z" }, - "channel_id": "f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "channel_last_message_at": "2024-12-15T00:17:27.873083Z", + "channel_id": "a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "channel_last_message_at": "2025-01-01T00:16:25.488868Z", "channel_type": "messaging", - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "created_at": "2024-12-15T00:17:28.357003298Z", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "created_at": "2025-01-01T00:16:25.962108886Z", "type": "channel.updated", "user": { "banned": false, @@ -209,14 +209,14 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.439083826Z", - "last_engaged_at": "2024-12-14T03:24:53.473819Z", + "last_active": "2025-01-01T00:16:22.080976834Z", + "last_engaged_at": "2025-01-01T00:00:16.529046Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } } \ No newline at end of file diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_events_member.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_events_member.json index b3a0ea7d2a..fc664477d3 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_events_member.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_events_member.json @@ -1,20 +1,20 @@ { - "channel_id": "f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "channel_last_message_at": "2024-12-15T00:17:27.873083Z", + "channel_id": "a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "channel_last_message_at": "2025-01-01T00:16:25.488868Z", "channel_type": "messaging", - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "created_at": "2024-12-15T00:17:28.345694481Z", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "created_at": "2025-01-01T00:16:25.951404908Z", "member": { "archived_at": null, "banned": false, "channel_role": "channel_member", - "created_at": "2024-12-15T00:17:28.334595Z", + "created_at": "2025-01-01T00:16:25.938072Z", "notifications_muted": false, "pinned_at": null, "role": "admin", "shadow_banned": false, "status": "member", - "updated_at": "2024-12-15T00:17:28.334595Z", + "updated_at": "2025-01-01T00:16:25.938072Z", "user": { "banned": false, "birthland": "Polis Massa", @@ -22,10 +22,10 @@ "id": "leia_organa", "image": "https://vignette.wikia.nocookie.net/starwars/images/f/fc/Leia_Organa_TLJ.png", "language": "ru", - "last_active": "2024-12-15T00:08:04.978602669Z", - "last_engaged_at": "2024-12-13T00:06:05.605994Z", - "name": "Leia Organa", - "online": true, + "last_active": "2024-12-31T07:04:09.883903Z", + "last_engaged_at": "2024-12-31T06:25:39.167646Z", + "name": "John Doe", + "online": false, "private_settings": { "readReceipts": { "enabled": false @@ -35,7 +35,7 @@ } }, "role": "admin", - "updated_at": "2024-11-06T19:37:19.402099Z" + "updated_at": "2024-12-30T05:55:49.436894Z" }, "user_id": "leia_organa" }, @@ -47,10 +47,10 @@ "id": "leia_organa", "image": "https://vignette.wikia.nocookie.net/starwars/images/f/fc/Leia_Organa_TLJ.png", "language": "ru", - "last_active": "2024-12-15T00:08:04.978602669Z", - "last_engaged_at": "2024-12-13T00:06:05.605994Z", - "name": "Leia Organa", - "online": true, + "last_active": "2024-12-31T07:04:09.883903Z", + "last_engaged_at": "2024-12-31T06:25:39.167646Z", + "name": "John Doe", + "online": false, "private_settings": { "readReceipts": { "enabled": false @@ -60,6 +60,6 @@ } }, "role": "admin", - "updated_at": "2024-11-06T19:37:19.402099Z" + "updated_at": "2024-12-30T05:55:49.436894Z" } } \ No newline at end of file diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_health_check.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_health_check.json index de66a82838..fe1d55ab42 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_health_check.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_health_check.json @@ -1,7 +1,7 @@ { "cid": "*", - "connection_id": "6749d058-0a15-284e-0200-0000000085e2", - "created_at": "2024-12-15T00:17:22.483645562Z", + "connection_id": "67605501-0a15-3bf6-0200-0000000020cb", + "created_at": "2025-01-01T00:16:22.113093907Z", "me": { "banned": false, "birthland": "Tatooine", @@ -12,7 +12,7 @@ "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "invisible": false, "language": "en", - "last_active": "2024-12-15T00:17:22.439083826Z", + "last_active": "2025-01-01T00:16:22.080976834Z", "mutes": [], "name": "Luke Skywalker", "online": true, @@ -25,15 +25,15 @@ "enabled": true } }, - "role": "user", + "role": "admin", "team": "test", "teams": [], "total_unread_count": 0, "type": "team", "unread_channels": 0, "unread_count": 0, - "unread_threads": 0, - "updated_at": "2024-12-14T21:58:37.542597Z" + "unread_threads": 1, + "updated_at": "2024-12-31T01:33:53.616251Z" }, "type": "health.check" } \ No newline at end of file diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_message.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_message.json index bf8f71bffd..498fea9f82 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_message.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_message.json @@ -1,17 +1,17 @@ { - "channel_id": "f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "channel_last_message_at": "2024-12-15T00:17:27.873083Z", + "channel_id": "a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "channel_last_message_at": "2025-01-01T00:16:25.488868Z", "channel_type": "messaging", - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "created_at": "2024-12-15T00:17:27.896317641Z", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "created_at": "2025-01-01T00:16:25.508473299Z", "message": { "attachments": [], "before_message_send_failed": true, - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "created_at": "2024-12-15T00:17:27.873083Z", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "created_at": "2025-01-01T00:16:25.488868Z", "deleted_reply_count": 0, "html": "Test
\n", - "id": "f6fbc040-ba79-11ef-8e04-aa9e61e8bc3b", + "id": "a2c7337e-c7d5-11ef-b210-ca08f9476ff8", "latest_reactions": [], "mentioned_users": [], "own_reactions": [], @@ -27,7 +27,7 @@ "silent": false, "text": "Test", "type": "regular", - "updated_at": "2024-12-15T00:17:27.873083Z", + "updated_at": "2025-01-01T00:16:25.488868Z", "user": { "banned": false, "birthland": "Tatooine", @@ -35,15 +35,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.439083826Z", - "last_engaged_at": "2024-12-14T03:24:53.473819Z", + "last_active": "2025-01-01T00:16:22.080976834Z", + "last_engaged_at": "2025-01-01T00:00:16.529046Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } }, "total_unread_count": 0, @@ -57,15 +57,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.439083826Z", - "last_engaged_at": "2024-12-14T03:24:53.473819Z", + "last_active": "2025-01-01T00:16:22.080976834Z", + "last_engaged_at": "2025-01-01T00:00:16.529046Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "watcher_count": 1 } \ No newline at end of file diff --git a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_reaction.json b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_reaction.json index 9e59a3218a..d9f7f41e3a 100644 --- a/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_reaction.json +++ b/TestTools/StreamChatTestMockServer/Fixtures/JSONs/ws_reaction.json @@ -1,23 +1,23 @@ { - "channel_id": "f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "channel_last_message_at": "2024-12-15T00:17:27.873083Z", + "channel_id": "a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "channel_last_message_at": "2025-01-01T00:16:25.488868Z", "channel_type": "messaging", - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "created_at": "2024-12-15T00:17:28.130213726Z", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "created_at": "2025-01-01T00:16:25.737245338Z", "message": { "attachments": [], - "cid": "messaging:f4766a00-ba79-11ef-8e04-aa9e61e8bc3b", - "created_at": "2024-12-15T00:17:27.873083Z", + "cid": "messaging:a1697d5c-c7d5-11ef-b210-ca08f9476ff8", + "created_at": "2025-01-01T00:16:25.488868Z", "deleted_reply_count": 0, "html": "Test
\n", - "id": "f6fbc040-ba79-11ef-8e04-aa9e61e8bc3b", + "id": "a2c7337e-c7d5-11ef-b210-ca08f9476ff8", "latest_reactions": [ { - "created_at": "2024-12-15T00:17:28.109001Z", - "message_id": "f6fbc040-ba79-11ef-8e04-aa9e61e8bc3b", + "created_at": "2025-01-01T00:16:25.721327Z", + "message_id": "a2c7337e-c7d5-11ef-b210-ca08f9476ff8", "score": 1, "type": "like", - "updated_at": "2024-12-15T00:17:28.109001Z", + "updated_at": "2025-01-01T00:16:25.721327Z", "user": { "banned": false, "birthland": "Tatooine", @@ -25,15 +25,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.439083826Z", - "last_engaged_at": "2024-12-14T03:24:53.473819Z", + "last_active": "2025-01-01T00:16:22.080976834Z", + "last_engaged_at": "2025-01-01T00:00:16.529046Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "user_id": "luke_skywalker" } @@ -50,8 +50,8 @@ "reaction_groups": { "like": { "count": 1, - "first_reaction_at": "2024-12-15T00:17:28.109001Z", - "last_reaction_at": "2024-12-15T00:17:28.109001Z", + "first_reaction_at": "2025-01-01T00:16:25.721327Z", + "last_reaction_at": "2025-01-01T00:16:25.721327Z", "sum_scores": 1 } }, @@ -63,7 +63,7 @@ "silent": false, "text": "Test", "type": "regular", - "updated_at": "2024-12-15T00:17:28.120509Z", + "updated_at": "2025-01-01T00:16:25.728717Z", "user": { "banned": false, "birthland": "Tatooine", @@ -71,23 +71,23 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.439083826Z", - "last_engaged_at": "2024-12-14T03:24:53.473819Z", + "last_active": "2025-01-01T00:16:22.080976834Z", + "last_engaged_at": "2025-01-01T00:00:16.529046Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } }, "reaction": { - "created_at": "2024-12-15T00:17:28.109001Z", - "message_id": "f6fbc040-ba79-11ef-8e04-aa9e61e8bc3b", + "created_at": "2025-01-01T00:16:25.721327Z", + "message_id": "a2c7337e-c7d5-11ef-b210-ca08f9476ff8", "score": 1, "type": "like", - "updated_at": "2024-12-15T00:17:28.109001Z", + "updated_at": "2025-01-01T00:16:25.721327Z", "user": { "banned": false, "birthland": "Tatooine", @@ -95,15 +95,15 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.439083826Z", - "last_engaged_at": "2024-12-14T03:24:53.473819Z", + "last_active": "2025-01-01T00:16:22.080976834Z", + "last_engaged_at": "2025-01-01T00:00:16.529046Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" }, "user_id": "luke_skywalker" }, @@ -115,14 +115,14 @@ "id": "luke_skywalker", "image": "https://vignette.wikia.nocookie.net/starwars/images/2/20/LukeTLJ.jpg", "language": "en", - "last_active": "2024-12-15T00:17:22.439083826Z", - "last_engaged_at": "2024-12-14T03:24:53.473819Z", + "last_active": "2025-01-01T00:16:22.080976834Z", + "last_engaged_at": "2025-01-01T00:00:16.529046Z", "name": "Luke Skywalker", "online": true, "pando": "{\"speciality\":\"ios engineer\"}", - "role": "user", + "role": "admin", "team": "test", "type": "team", - "updated_at": "2024-12-14T21:58:37.542597Z" + "updated_at": "2024-12-31T01:33:53.616251Z" } } \ No newline at end of file