Skip to content

Commit afcb2c0

Browse files
authored
Merge pull request #6046 from woocommerce/fix/ipp-onboarding-tests-action-count
Remove unnecessary checks on IPP onboarding tests
2 parents d1d5ca6 + 7ea0be5 commit afcb2c0

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)