From bfa839b058de9f1e3ab013c3b116fa99e70ae649 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Sun, 26 Jul 2026 01:16:41 +0200 Subject: [PATCH] Updated some cases for the AmiiboServiceLiveTests test in the Amiibo service tests target. --- .../Public/Services/AmiiboServiceLiveTests.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Tests/AmiiboService/Cases/Public/Services/AmiiboServiceLiveTests.swift b/Tests/AmiiboService/Cases/Public/Services/AmiiboServiceLiveTests.swift index 2eeb8ca..edea4af 100644 --- a/Tests/AmiiboService/Cases/Public/Services/AmiiboServiceLiveTests.swift +++ b/Tests/AmiiboService/Cases/Public/Services/AmiiboServiceLiveTests.swift @@ -175,8 +175,8 @@ struct AmiiboServiceLiveTests { @Test func `get the last updated timestamp`() async throws { try await assertLastUpdated( - day: 2, - month: 6, + day: 24, + month: 7, year: 2026 ) } @@ -324,8 +324,8 @@ struct AmiiboServiceLiveTests { @Test("get last updated timestamp") func getLastUpdated() async throws { try await assertLastUpdated( - day: 2, - month: 6, + day: 24, + month: 7, year: 2026 ) } @@ -661,7 +661,7 @@ enum Input { enum Output { /// A list of number of items that are expected from the `assertAmiibos` assertion. - static let amiibos: [Int] = [.totalAmiibos, 7, 7, 1, 1, 1, .zero, .zero, 5, .zero, 7, .totalAmiibos, 250, 250, .zero, .zero, .zero, .zero, 96, 26, .zero, .zero, 63, .totalAmiibos, 14, 6, .zero, .zero, .zero, .totalAmiibos, 53, 32, .zero, .zero, 152, .totalAmiibos, .totalAmiibos, .totalAmiibos] + static let amiibos: [Int] = [.totalAmiibos, 7, 7, 1, 1, 1, .zero, .zero, 5, .zero, 7, .totalAmiibos, 254, 254, .zero, .zero, .zero, .zero, 96, 26, .zero, .zero, 63, .totalAmiibos, 14, 6, .zero, .zero, .zero, .totalAmiibos, 53, 32, .zero, .zero, 152, .totalAmiibos, .totalAmiibos, .totalAmiibos] /// A list of errors are expected to be thrown from the `assertAmiibosThrows` assertion. static let amiibosThrows: [AmiiboServiceError] = [.badRequest, .badRequest, .badRequest, .badRequest, .badRequest, .badRequest, .badRequest] /// A list of number of items that are expected from the `assertAmiiboSeries` assertion. @@ -686,7 +686,7 @@ enum Output { private extension Int { /// A number that represents the total number of amiibo items currently available at the live service. - static let totalAmiibos = 942 + static let totalAmiibos = 946 /// A number that represents the total number of amiibo series currently available at the live service. static let totalAmiiboSeries = 31 /// A number that represents the total number of amiibo types currently available at the live service.