Written test cases for the AmiiboServiceLiveTests tests in the tests target.
This commit is contained in:
parent
0793df8c83
commit
b29815f044
@ -16,12 +16,12 @@ public struct AmiiboMockClient {
|
|||||||
|
|
||||||
// MARK: Properties
|
// MARK: Properties
|
||||||
|
|
||||||
private(set) public var amiibos: [Amiibo]?
|
private let amiibos: [Amiibo]?
|
||||||
private(set) public var amiiboSeries: [AmiiboSeries]?
|
private let amiiboSeries: [AmiiboSeries]?
|
||||||
private(set) public var amiiboTypes: [AmiiboType]?
|
private let amiiboTypes: [AmiiboType]?
|
||||||
private(set) public var gameCharacters: [GameCharacter]?
|
private let gameCharacters: [GameCharacter]?
|
||||||
private(set) public var gameSeries: [GameSeries]?
|
private let gameSeries: [GameSeries]?
|
||||||
private(set) public var lastUpdated: Date?
|
private let lastUpdated: Date?
|
||||||
|
|
||||||
// MARK: Initialisers
|
// MARK: Initialisers
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
//===----------------------------------------------------------------------===
|
//===----------------------------------------------------------------------===
|
||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
import OpenAPIRuntime
|
|
||||||
|
|
||||||
public struct AmiiboService {
|
public struct AmiiboService {
|
||||||
|
|
||||||
|
1135
Tests/AmiiboServiceLiveTests.swift
Normal file
1135
Tests/AmiiboServiceLiveTests.swift
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,7 +0,0 @@
|
|||||||
import Testing
|
|
||||||
|
|
||||||
@testable import AmiiboAPI
|
|
||||||
|
|
||||||
@Test func example() async throws {
|
|
||||||
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user