Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions WooCommerce/WooCommerceTests/UnitTests.xctestplan
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
"testTargets" : [
{
"skippedTests" : [
"InAppPurchaseStoreTests\/test_user_is_entitled_to_product_returns_false_when_not_entitled()",
"InAppPurchaseStoreTests\/test_user_is_entitled_to_product_returns_true_when_entitled()",
"StripeCardReaderIntegrationTests"
],
"target" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ final class InAppPurchaseStoreTests: XCTestCase {
XCTAssert(error is WordPressApiError)
}

// TODO: re-enable the test case when it can pass consistently. More details:
// https://github.com/woocommerce/woocommerce-ios/pull/8256#pullrequestreview-1199236279
func test_user_is_entitled_to_product_returns_false_when_not_entitled() throws {
// Given

Expand All @@ -191,6 +193,8 @@ final class InAppPurchaseStoreTests: XCTestCase {
XCTAssertFalse(isEntitled)
}

// TODO: re-enable the test case when it can pass consistently. More details:
// https://github.com/woocommerce/woocommerce-ios/pull/8256#pullrequestreview-1199236279
func test_user_is_entitled_to_product_returns_true_when_entitled() throws {
// Given
try storeKitSession.buyProduct(productIdentifier: sampleProductID)
Expand Down