mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
chore: fix snapshot tests
This commit is contained in:
parent
cde4144e30
commit
c64523f23c
|
@ -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 {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue