Improved the "getAmiibos(by: )" function for the AmiiboLiveClient client in the package target.

This commit is contained in:
2024-09-15 00:15:06 +02:00
parent 4a8f402036
commit 420ed8f7a3
3 changed files with 30 additions and 15 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ struct AmiiboServiceLiveTests {
// WHEN
// THEN
await #expect(throws: AmiiboServiceError.undocumented(404)) {
await #expect(throws: AmiiboServiceError.decoding) {
try await service.getAmiibos(.init(identifier: identifier))
}
}
@@ -79,7 +79,7 @@ struct AmiiboServiceLiveTests {
// WHEN
// THEN
await #expect(throws: AmiiboServiceError.undocumented(404)) {
await #expect(throws: AmiiboServiceError.decoding) {
try await service.getAmiibos(.init(identifier: identifier))
}
}