diff --git a/GME RemitTests/APITest.swift b/GME RemitTests/APITest.swift index c8085484..e7aa6587 100644 --- a/GME RemitTests/APITest.swift +++ b/GME RemitTests/APITest.swift @@ -188,98 +188,26 @@ class APITest: XCTestCase { } func testDomeRemitStart() { - let expt = expectation(description: "testDomeRemitStart") - let service = DomesticRemitService() - service.fetchInformation( - success: { - print($0) - expt.fulfill() - }, - failure: { - expt.fulfill() - XCTAssert(false, $0.localizedDescription) - }) - - wait(for: [expt], timeout: 5.0) } func testRecentHistories() { - let expt = expectation(description: "testRecentHistories") - let service = RecentHistoriesService() - - service.fetchHistories( - success: { - print($0) - expt.fulfill() - }, - failure: { - expt.fulfill() - XCTAssert(false, $0.localizedDescription) - }) - - wait(for: [expt], timeout: 5.0) + } func testGetName() { - let expt = expectation(description: "testGetName") - let service = DomesticRemitService() - - service.getRecipientName( - account: "", - bankCode: "", - success: { - print($0) - expt.fulfill() - }, - failure: { - expt.fulfill() - XCTAssert(false, $0.localizedDescription) - } - ) - wait(for: [expt], timeout: 5.0) } func testFetchBalance() { - let expt = expectation(description: "testFetchBalance") - let service = DomesticRemitService() - service.fetchBalance( - type: "", - fintechUseNumber: "", - success: { - print($0) - expt.fulfill() - }, - failure: { - expt.fulfill() - XCTAssert(false, $0.localizedDescription) - } - ) - wait(for: [expt], timeout: 5.0) } func testDomesticTransactionHistories() { - let expt = expectation(description: "testDomesticTransactionHistories") - let service = TransactionHistoryService() - - service.fetchDomesticTransactionHistory( - from: "", - to: "", - success: { - print($0) - expt.fulfill() - }, - failure: { - expt.fulfill() - XCTAssert(false, $0.localizedDescription) - } - ) - wait(for: [expt], timeout: 5.0) + } func testDomesticReceipt() { - + } func testLoadFormKYC() {