Skip to content

Commit 4f6afce

Browse files
committed
Use XCTExpectFailure instead of skipping a couple of tests
1 parent c90aa82 commit 4f6afce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Modules/Tests/NetworkingTests/Remote/WCPayRemoteTests.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ final class WCPayRemoteTests: XCTestCase {
112112

113113
XCTAssertTrue(result.isSuccess)
114114
let account = try result.get()
115+
116+
XCTExpectFailure("isCardPresentEligible has been hardcoded to true. See https://github.com/woocommerce/woocommerce-ios/pull/5030")
115117
XCTAssertEqual(account.isCardPresentEligible, false)
116118
}
117119

@@ -131,6 +133,8 @@ final class WCPayRemoteTests: XCTestCase {
131133

132134
XCTAssertTrue(result.isSuccess)
133135
let account = try result.get()
136+
137+
XCTExpectFailure("isCardPresentEligible has been hardcoded to true. See https://github.com/woocommerce/woocommerce-ios/pull/5030")
134138
XCTAssertEqual(account.isCardPresentEligible, false)
135139
}
136140

0 commit comments

Comments
 (0)