Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NQuinn27 committed Sep 27, 2024
1 parent 0018cce commit efb0b7a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ final class ApplePayTokenizationViewModelTests: XCTestCase {
let methods = sut.getShippingMethodsInfo()

XCTAssert(methods.shippingMethods?.count == 2)
XCTAssert(methods.selectedShippingMethodOrderItem?.name == "Shipping: Default")
XCTAssert(methods.selectedShippingMethodOrderItem?.name == "Shipping")
}


Expand Down Expand Up @@ -613,7 +613,7 @@ final class ApplePayTokenizationViewModelTests: XCTestCase {
XCTAssert(update3.paymentSummaryItems.count == 3)
let shippingItem = update3.paymentSummaryItems[1]
XCTAssertEqual(shippingItem.amount, 2)
XCTAssertEqual(shippingItem.label, "Shipping: Next Day")
XCTAssertEqual(shippingItem.label, "Shipping")
}

// MARK: Helpers
Expand Down

0 comments on commit efb0b7a

Please sign in to comment.