Updated some expected results for the AmiiboServiceLiveTests cases in the tests target.

This commit is contained in:
2026-03-22 23:28:48 +01:00
parent 4c08ac488c
commit 1e4037066c
@@ -175,9 +175,9 @@ struct AmiiboServiceLiveTests {
@Test @Test
func `get the last updated timestamp`() async throws { func `get the last updated timestamp`() async throws {
try await assertLastUpdated( try await assertLastUpdated(
day: 7, day: 14,
month: 11, month: 3,
year: 2025 year: 2026
) )
} }
#else #else
@@ -324,9 +324,9 @@ struct AmiiboServiceLiveTests {
@Test("get last updated timestamp") @Test("get last updated timestamp")
func getLastUpdated() async throws { func getLastUpdated() async throws {
try await assertLastUpdated( try await assertLastUpdated(
day: 8, day: 14,
month: 12, month: 3,
year: 2025 year: 2026
) )
} }
#endif #endif
@@ -661,7 +661,7 @@ enum Input {
enum Output { enum Output {
/// A list of number of items that are expected from the `assertAmiibos` assertion. /// 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, 240, 240, .zero, .zero, .zero, .zero, 96, 26, .zero, .zero, 63, .totalAmiibos, 12, 6, .zero, .zero, .zero, .totalAmiibos, 49, 32, .zero, .zero, 147, .totalAmiibos, .totalAmiibos, .totalAmiibos] static let amiibos: [Int] = [.totalAmiibos, 7, 7, 1, 1, 1, .zero, .zero, 5, .zero, 7, .totalAmiibos, 244, 244, .zero, .zero, .zero, .zero, 96, 26, .zero, .zero, 63, .totalAmiibos, 12, 6, .zero, .zero, .zero, .totalAmiibos, 49, 32, .zero, .zero, 147, .totalAmiibos, .totalAmiibos, .totalAmiibos]
/// A list of errors are expected to be thrown from the `assertAmiibosThrows` assertion. /// A list of errors are expected to be thrown from the `assertAmiibosThrows` assertion.
static let amiibosThrows: [AmiiboServiceError] = [.badRequest, .badRequest, .badRequest, .badRequest, .badRequest, .badRequest, .badRequest] static let amiibosThrows: [AmiiboServiceError] = [.badRequest, .badRequest, .badRequest, .badRequest, .badRequest, .badRequest, .badRequest]
/// A list of number of items that are expected from the `assertAmiiboSeries` assertion. /// A list of number of items that are expected from the `assertAmiiboSeries` assertion.
@@ -686,13 +686,13 @@ enum Output {
private extension Int { private extension Int {
/// A number that represents the total number of amiibo items currently available at the live service. /// A number that represents the total number of amiibo items currently available at the live service.
static let totalAmiibos = 932 static let totalAmiibos = 936
/// A number that represents the total number of amiibo series currently available at the live service. /// A number that represents the total number of amiibo series currently available at the live service.
static let totalAmiiboSeries = 30 static let totalAmiiboSeries = 30
/// A number that represents the total number of amiibo types currently available at the live service. /// A number that represents the total number of amiibo types currently available at the live service.
static let totalAmiiboTypes = 5 static let totalAmiiboTypes = 5
/// A number that represents the total number of game characters currently available at the live service. /// A number that represents the total number of game characters currently available at the live service.
static let totalGameCharacters = 676 static let totalGameCharacters = 679
/// A number that represents the total number of game series currently available at the live service. /// A number that represents the total number of game series currently available at the live service.
static let totalGameSeries = 117 static let totalGameSeries = 117
} }