chore: fix snapshot tests

This commit is contained in:
iProdigy 2024-10-19 16:12:25 -07:00
parent cde4144e30
commit c64523f23c
5 changed files with 78 additions and 2 deletions

View file

@ -53,8 +53,12 @@ public:
std::optional<QString> getOrPopulateChannelCache( std::optional<QString> getOrPopulateChannelCache(
const QString &channelId) override const QString &channelId) override
{ {
assert(false && if (channelId == "11148817")
"unimplemented getOrPopulateChannelCache in mock irc server"); return "pajlada";
if (channelId == "141981764")
return "twitchdev";
if (channelId == "1025594235")
return "shared_chat_test_01";
return {}; return {};
} }

View file

@ -64,6 +64,24 @@
"trailingSpace": true, "trailingSpace": true,
"type": "TwitchModerationElement" "type": "TwitchModerationElement"
}, },
{
"emote": {
"homePage": "https://link.twitch.tv/SharedChatViewer",
"images": {
"1x": ""
},
"name": "SharedChat_shared_chat_test_01",
"tooltip": "Shared Message from shared_chat_test_01"
},
"flags": "BadgeSharedChannel",
"link": {
"type": "UserInfo",
"value": "shared_chat_test_01"
},
"tooltip": "Shared Message from shared_chat_test_01",
"trailingSpace": true,
"type": "BadgeElement"
},
{ {
"emote": { "emote": {
"homePage": "https://www.twitch.tv/jobs?ref=chat_badge", "homePage": "https://www.twitch.tv/jobs?ref=chat_badge",

View file

@ -64,6 +64,24 @@
"trailingSpace": true, "trailingSpace": true,
"type": "TwitchModerationElement" "type": "TwitchModerationElement"
}, },
{
"emote": {
"homePage": "https://link.twitch.tv/SharedChatViewer",
"images": {
"1x": ""
},
"name": "SharedChat_twitchdev",
"tooltip": "Shared Message from twitchdev"
},
"flags": "BadgeSharedChannel",
"link": {
"type": "UserInfo",
"value": "twitchdev"
},
"tooltip": "Shared Message from twitchdev",
"trailingSpace": true,
"type": "BadgeElement"
},
{ {
"color": "#ffff0000", "color": "#ffff0000",
"flags": "Username", "flags": "Username",

View file

@ -64,6 +64,24 @@
"trailingSpace": true, "trailingSpace": true,
"type": "TwitchModerationElement" "type": "TwitchModerationElement"
}, },
{
"emote": {
"homePage": "https://link.twitch.tv/SharedChatViewer",
"images": {
"1x": ""
},
"name": "SharedChat_twitchdev",
"tooltip": "Shared Message from twitchdev"
},
"flags": "BadgeSharedChannel",
"link": {
"type": "UserInfo",
"value": "twitchdev"
},
"tooltip": "Shared Message from twitchdev",
"trailingSpace": true,
"type": "BadgeElement"
},
{ {
"emote": { "emote": {
"homePage": "https://www.twitch.tv/jobs?ref=chat_badge", "homePage": "https://www.twitch.tv/jobs?ref=chat_badge",

View file

@ -64,6 +64,24 @@
"trailingSpace": true, "trailingSpace": true,
"type": "TwitchModerationElement" "type": "TwitchModerationElement"
}, },
{
"emote": {
"homePage": "https://link.twitch.tv/SharedChatViewer",
"images": {
"1x": ""
},
"name": "SharedChat_shared_chat_test_01",
"tooltip": "Shared Message from shared_chat_test_01"
},
"flags": "BadgeSharedChannel",
"link": {
"type": "UserInfo",
"value": "shared_chat_test_01"
},
"tooltip": "Shared Message from shared_chat_test_01",
"trailingSpace": true,
"type": "BadgeElement"
},
{ {
"emote": { "emote": {
"homePage": "https://www.twitch.tv/jobs?ref=chat_badge", "homePage": "https://www.twitch.tv/jobs?ref=chat_badge",