From d08dcfddb016cfb4a07b9404ba39770e332e799c Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Tue, 27 Aug 2024 12:39:45 -0700 Subject: [PATCH] update `QuoteTests` --- Tests/tbDEXTests/Protocol/Models/Messages/QuoteTests.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Tests/tbDEXTests/Protocol/Models/Messages/QuoteTests.swift b/Tests/tbDEXTests/Protocol/Models/Messages/QuoteTests.swift index a7c5a59..51da717 100644 --- a/Tests/tbDEXTests/Protocol/Models/Messages/QuoteTests.swift +++ b/Tests/tbDEXTests/Protocol/Models/Messages/QuoteTests.swift @@ -17,12 +17,14 @@ final class QuoteTests: XCTestCase { XCTAssertEqual(quote.metadata.exchangeID, "exchange_123") XCTAssertEqual(quote.data.payin.currencyCode, "USD") - XCTAssertEqual(quote.data.payin.amount, "1.00") + XCTAssertEqual(quote.data.payin.total, "1.00") XCTAssertNil(quote.data.payin.fee) XCTAssertEqual(quote.data.payout.currencyCode, "AUD") - XCTAssertEqual(quote.data.payout.amount, "2.00") + XCTAssertEqual(quote.data.payout.subtotal, "2.00") XCTAssertEqual(quote.data.payout.fee, "0.50") + XCTAssertEqual(quote.data.payout.total, "2.50") + } func test_verifySuccess() async throws {