Improved the "getAmiibos(by: )" function for the AmiiboLiveClient client in the package target.
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user