File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ private extension POSTabCoordinator {
201201 let collectPaymentAnalyticsAdaptor = POSCollectOrderPaymentAnalyticsAdaptor ( analytics: serviceAdaptor. analytics)
202202
203203 let cardPresentPaymentService : CardPresentPaymentFacade
204- if ProcessConfiguration . shouldBypassCardPresentPayment {
204+ if ProcessConfiguration . shouldUseMockCardPresentPayment {
205205 cardPresentPaymentService = CardPresentPaymentServiceScreenshotMock ( )
206206 } else {
207207 cardPresentPaymentService = await CardPresentPaymentService ( siteID: siteID,
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ struct ProcessConfiguration {
3737 ProcessInfo . processInfo. arguments. contains ( " bypass-pos-order-syncing " )
3838 }
3939
40- /// Returns `true` when card present payment should be bypassed for screenshot tests.
41- static var shouldBypassCardPresentPayment : Bool {
42- ProcessInfo . processInfo. arguments. contains ( " bypass -card-present-payment" )
40+ /// Returns `true` when card present payment service should be mocked for screenshot tests.
41+ static var shouldUseMockCardPresentPayment : Bool {
42+ ProcessInfo . processInfo. arguments. contains ( " use-mocked -card-present-payment" )
4343 }
4444}
You can’t perform that action at this time.
0 commit comments