Skip to content

Commit 7ea0be5

Browse files
committed
Remove unnecessary checks on IPP onboarding tests
As suggested in https://github.com/woocommerce/woocommerce-ios/pull/6035/files/7f592ed183523205dba8ffdbc683bff0770643ee#r797478700, these don't really add much and just test and implementation detail that will change as we remove feature flags
1 parent 7bdefa5 commit 7ea0be5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

WooCommerce/WooCommerceTests/ViewRelated/CardPresentPayments/CardPresentPaymentsOnboardingUseCaseTests.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,6 @@ class CardPresentPaymentsOnboardingUseCaseTests: XCTestCase {
326326

327327
// Then
328328

329-
// AppSettingsAction.loadStripeInPersonPaymentsSwitchState
330-
// + AppSettingsAction.loadCanadaInPersonPaymentsSwitchState
331-
// + CardPresentPaymentAction.use
332-
XCTAssertEqual(stores.receivedActions.count, 3)
333329
let action = try XCTUnwrap(stores.receivedActions.last as? CardPresentPaymentAction)
334330

335331
switch action {
@@ -376,10 +372,6 @@ class CardPresentPaymentsOnboardingUseCaseTests: XCTestCase {
376372

377373
// Then
378374

379-
// AppSettingsAction.loadStripeInPersonPaymentsSwitchState
380-
// + AppSettingsAction.loadCanadaInPersonPaymentsSwitchState
381-
// + CardPresentPaymentAction.use
382-
XCTAssertEqual(stores.receivedActions.count, 3)
383375
let action = try XCTUnwrap(stores.receivedActions.last as? CardPresentPaymentAction)
384376

385377
switch action {

0 commit comments

Comments
 (0)