Skip to content

Commit fc1213a

Browse files
committed
Fix test
1 parent bee90e9 commit fc1213a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Hardware/HardwareTests/ErrorCodesTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ final class CardReaderServiceErrorTests: XCTestCase {
3939
}
4040

4141
func test_stripe_cancelled_maps_to_expected_error() {
42-
XCTAssertEqual(.commandCancelled, domainError(stripeCode: 2020))
42+
XCTAssertEqual(.commandCancelled(from: .unknown), domainError(stripeCode: 2020))
4343
}
4444

4545
func test_stripe_location_services_disabled_maps_to_expected_error() {

0 commit comments

Comments
 (0)