From 09ac33e58a610584e04398824aae5deca256a39b Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Wed, 1 Oct 2025 21:49:11 +0200 Subject: [PATCH] Updated some cases for the AmiiboServiceLiveTest tests in the tests target. --- .../Services/AmiiboServiceLiveTests.swift | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/Tests/AmiiboService/Tests/Public/Services/AmiiboServiceLiveTests.swift b/Tests/AmiiboService/Tests/Public/Services/AmiiboServiceLiveTests.swift index 9120977..b322fdf 100644 --- a/Tests/AmiiboService/Tests/Public/Services/AmiiboServiceLiveTests.swift +++ b/Tests/AmiiboService/Tests/Public/Services/AmiiboServiceLiveTests.swift @@ -1141,7 +1141,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiibos.isEmpty) - #expect(amiibos.count == 885) + #expect(amiibos.count == 889) #expect(amiibos.first?.identifier == "0000000000000002") #expect(amiibos.first?.platform == nil) #expect(amiibos.last?.identifier == "3f000000042e0002") @@ -1263,7 +1263,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiibos.isEmpty) - #expect(amiibos.count == 885) + #expect(amiibos.count == 889) } @Test("Get Amiibo items by an existing type key") @@ -1465,7 +1465,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiibos.isEmpty) - #expect(amiibos.count == 885) + #expect(amiibos.count == 889) } @Test("Get Amiibo items by an empty series name") @@ -1478,7 +1478,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiibos.isEmpty) - #expect(amiibos.count == 885) + #expect(amiibos.count == 889) } @Test("Get Amiibo items by an existing game character key") @@ -1491,7 +1491,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiibos.isEmpty) - #expect(amiibos.count == 11) + #expect(amiibos.count == 12) #expect(amiibos.first?.gameCharacter == "Mario") #expect(amiibos.first?.platform == nil) #expect(amiibos.last?.gameCharacter == "Mario") @@ -1573,7 +1573,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiibos.isEmpty) - #expect(amiibos.count == 885) + #expect(amiibos.count == 889) } @Test("Get Amiibo items by an empty game character name") @@ -1586,7 +1586,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiibos.isEmpty) - #expect(amiibos.count == 885) + #expect(amiibos.count == 889) } @Test("Get Amiibo items by an existing game series key") @@ -1599,7 +1599,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiibos.isEmpty) - #expect(amiibos.count == 45) + #expect(amiibos.count == 49) #expect(amiibos.first?.gameSeries == "Super Mario") #expect(amiibos.first?.platform == nil) #expect(amiibos.last?.gameSeries == "Super Mario") @@ -1669,7 +1669,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiibos.isEmpty) - #expect(amiibos.count == 143) + #expect(amiibos.count == 147) } @Test("Get Amiibo items by an empty game series key") @@ -1682,7 +1682,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiibos.isEmpty) - #expect(amiibos.count == 885) + #expect(amiibos.count == 889) } @Test("Get Amiibo items by an empty game series name") @@ -1695,7 +1695,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiibos.isEmpty) - #expect(amiibos.count == 885) + #expect(amiibos.count == 889) } @Test("Get Amiibo items with games data") @@ -1706,7 +1706,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiibos.isEmpty) - #expect(amiibos.count == 885) + #expect(amiibos.count == 889) #expect(amiibos.first?.platform != nil) #expect(amiibos.first?.platform?.switch.isEmpty == false) #expect(amiibos.first?.platform?.switch.first?.usages == nil) @@ -1725,7 +1725,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiibos.isEmpty) - #expect(amiibos.count == 885) + #expect(amiibos.count == 889) #expect(amiibos.first?.platform != nil) #expect(amiibos.first?.platform?.switch.isEmpty == false) #expect(amiibos.first?.platform?.switch.first?.usages?.isEmpty == false) @@ -1744,7 +1744,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiiboSeries.isEmpty) - #expect(amiiboSeries.count == 28) + #expect(amiiboSeries.count == 29) #expect(amiiboSeries.first?.key == "0x00") #expect(amiiboSeries.last?.key == "0xff") } @@ -1852,7 +1852,7 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiiboSeries.isEmpty) - #expect(amiiboSeries.count == 28) + #expect(amiiboSeries.count == 29) #expect(amiiboSeries.first?.key == "0x00") #expect(amiiboSeries.last?.key == "0xff") } @@ -1865,9 +1865,9 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiiboTypes.isEmpty) - #expect(amiiboTypes.count == 4) + #expect(amiiboTypes.count == 5) #expect(amiiboTypes.first?.key == "0x00") - #expect(amiiboTypes.last?.key == "0x03") + #expect(amiiboTypes.last?.key == "0x04") } @Test("Get Amiibo types by an existing key") @@ -1973,9 +1973,9 @@ struct AmiiboServiceLiveTests { // THEN #expect(!amiiboTypes.isEmpty) - #expect(amiiboTypes.count == 4) + #expect(amiiboTypes.count == 5) #expect(amiiboTypes.first?.key == "0x00") - #expect(amiiboTypes.last?.key == "0x03") + #expect(amiiboTypes.last?.key == "0x04") } @Test("Get game characters") @@ -2233,8 +2233,8 @@ struct AmiiboServiceLiveTests { ) #expect(dateComponents.year == 2025) - #expect(dateComponents.month == 7) - #expect(dateComponents.day == 18) + #expect(dateComponents.month == 9) + #expect(dateComponents.day == 21) } #endif