Skip to content

Commit

Permalink
Fix failing POS payments test
Browse files Browse the repository at this point in the history
Previous changes merged in #15030 (8098d27) included a failing test.

This commit updates the test to check for the new string.
  • Loading branch information
joshheald committed Feb 3, 2025
1 parent 79d1f92 commit a1844df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ struct PointOfSaleAggregateModelTests {
Issue.record("Expected cardPresentPaymentInlineMessage to be paymentSuccess")
return
}
#expect(viewModel.message == "A payment of $52.30 was successfully made")
#expect(viewModel.message == "A card payment of $52.30 was successfully made")
}

@Test func paymentIntentCreationErrorMessage_when_paymentIntentCreationError_tryAgain_cancels_payment() async throws {
Expand Down

0 comments on commit a1844df

Please sign in to comment.