Minor badge and emote test additions
This commit is contained in:
parent
38da5aa154
commit
1765c31e9f
2 changed files with 7 additions and 0 deletions
|
|
@ -22,6 +22,10 @@ void main() {
|
|||
|
||||
expect(badge.setId, "vip");
|
||||
expect(badge.versions.first.id, "1");
|
||||
expect(badge.versions.length, 1);
|
||||
expect(badge.versions.first.id, "1");
|
||||
expect(badge.versions.first.imageUrl1x, "https://static-cdn.jtvnw.net/badges/v1/b817aba4-fad8-49e2-b88a-7cc744dfa6ec/1");
|
||||
expect(badge.versions.first.imageUrl2x, "https://static-cdn.jtvnw.net/badges/v1/b817aba4-fad8-49e2-b88a-7cc744dfa6ec/2");
|
||||
expect(badge.versions.first.imageUrl4x, "https://static-cdn.jtvnw.net/badges/v1/b817aba4-fad8-49e2-b88a-7cc744dfa6ec/3");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -35,6 +35,8 @@ void main() {
|
|||
|
||||
expect(emote.id, "304456832");
|
||||
expect(emote.name, "twitchdevPitchfork");
|
||||
expect(emote.images.url1x, "https://static-cdn.jtvnw.net/emoticons/v2/304456832/static/light/1.0");
|
||||
expect(emote.images.url2x, "https://static-cdn.jtvnw.net/emoticons/v2/304456832/static/light/2.0");
|
||||
expect(emote.images.url4x, "https://static-cdn.jtvnw.net/emoticons/v2/304456832/static/light/3.0");
|
||||
expect(emote.tier, "1000");
|
||||
expect(emote.emoteType, "subscriptions");
|
||||
|
|
@ -188,6 +190,7 @@ void main() {
|
|||
expect(emote.user.name, "vulpeshd");
|
||||
expect(emote.user.displayName, "VulpesHD");
|
||||
expect(emote.code, "peepoPog");
|
||||
expect(emote.images.url1x, "https://cdn.betterttv.net/frankerfacez_emote/317897/1");
|
||||
expect(emote.images.url2x, "https://cdn.betterttv.net/frankerfacez_emote/317897/2");
|
||||
expect(emote.images.url4x, null);
|
||||
expect(emote.imageType, "png");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue