From 8c926efc54a3a9bc32dce4b1fc36d355a16d16f9 Mon Sep 17 00:00:00 2001 From: samiuelson Date: Fri, 17 Jan 2025 12:08:51 +0100 Subject: [PATCH] Update test --- .../connect/CardReaderConnectViewModelTest.kt | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/WooCommerce/src/test/kotlin/com/woocommerce/android/ui/payments/cardreader/connect/CardReaderConnectViewModelTest.kt b/WooCommerce/src/test/kotlin/com/woocommerce/android/ui/payments/cardreader/connect/CardReaderConnectViewModelTest.kt index f925942646f..efe1a141f87 100644 --- a/WooCommerce/src/test/kotlin/com/woocommerce/android/ui/payments/cardreader/connect/CardReaderConnectViewModelTest.kt +++ b/WooCommerce/src/test/kotlin/com/woocommerce/android/ui/payments/cardreader/connect/CardReaderConnectViewModelTest.kt @@ -1605,17 +1605,18 @@ class CardReaderConnectViewModelTest : BaseUnitTest() { ): CardReaderConnectViewModel { val savedState = CardReaderConnectDialogFragmentArgs(cardReaderFlowParam, cardReaderType).toSavedStateHandle() return CardReaderConnectViewModel( - savedState, - coroutinesTestRule.testDispatchers, - tracker, - appPrefs, - developerOptionsRepository, - locationRepository, - selectedSite, - cardReaderManager, - cardReaderTrackingInfoKeeper, - cardReaderOnboardingChecker, - learnMoreUrlProvider, + savedState = savedState, + storeManagementPaymentsFlowTracker = tracker, + pointOfSalePaymentsFlowTracker = tracker, + dispatchers = coroutinesTestRule.testDispatchers, + appPrefs = appPrefs, + developerOptionsRepository = developerOptionsRepository, + locationRepository = locationRepository, + selectedSite = selectedSite, + cardReaderManager = cardReaderManager, + cardReaderTrackingInfoKeeper = cardReaderTrackingInfoKeeper, + cardReaderOnboardingChecker = cardReaderOnboardingChecker, + learnMoreUrlProvider = learnMoreUrlProvider, ) }