Skip to content

Commit 1012d2b

Browse files
committed
Remove stripe experiment from loader tests
1 parent 41c79a0 commit 1012d2b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

WooCommerce/WooCommerceTests/Tools/In-Person Payments/CardPresentConfigurationLoaderTests.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ final class CardPresentConfigurationLoaderTests: XCTestCase {
2121
stores = MockStoresManager(sessionManager: .makeForTesting(authenticated: true))
2222
stores.whenReceivingAction(ofType: AppSettingsAction.self) { action in
2323
switch action {
24-
case .loadStripeInPersonPaymentsSwitchState(let completion):
25-
completion(.success(true))
2624
case .loadCanadaInPersonPaymentsSwitchState(let completion):
2725
completion(.success(true))
2826
default:
@@ -103,8 +101,6 @@ private extension CardPresentConfigurationLoaderTests {
103101
func setupFeatures(stripe: Bool, canada: Bool) {
104102
stores.whenReceivingAction(ofType: AppSettingsAction.self) { action in
105103
switch action {
106-
case .loadStripeInPersonPaymentsSwitchState(onCompletion: let completion):
107-
completion(.success(stripe))
108104
case .loadCanadaInPersonPaymentsSwitchState(onCompletion: let completion):
109105
completion(.success(canada))
110106
default:

0 commit comments

Comments
 (0)