From 16a39a3e48d1769d742127098cf00f618a6fffda Mon Sep 17 00:00:00 2001 From: samiuelson Date: Fri, 17 Jan 2025 17:56:45 +0100 Subject: [PATCH] Update tests --- .../CardReaderOnboardingViewModelTest.kt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/WooCommerce/src/test/kotlin/com/woocommerce/android/ui/payments/cardreader/onboarding/CardReaderOnboardingViewModelTest.kt b/WooCommerce/src/test/kotlin/com/woocommerce/android/ui/payments/cardreader/onboarding/CardReaderOnboardingViewModelTest.kt index de257158e28..1fe0479c895 100644 --- a/WooCommerce/src/test/kotlin/com/woocommerce/android/ui/payments/cardreader/onboarding/CardReaderOnboardingViewModelTest.kt +++ b/WooCommerce/src/test/kotlin/com/woocommerce/android/ui/payments/cardreader/onboarding/CardReaderOnboardingViewModelTest.kt @@ -2326,14 +2326,15 @@ class CardReaderOnboardingViewModelTest : BaseUnitTest() { cardReaderType = CardReaderType.EXTERNAL ).toSavedStateHandle() ) = CardReaderOnboardingViewModel( - savedState, - onboardingChecker, - tracker, - learnMoreUrlProvider, - selectedSite, - appPrefsWrapper, - cardReaderManager, - gatewayStore, - errorClickHandler, + savedState = savedState, + storeManagementPaymentsFlowTracker = tracker, + pointOfSalePaymentsFlowTracker = tracker, + cardReaderChecker = onboardingChecker, + learnMoreUrlProvider = learnMoreUrlProvider, + selectedSite = selectedSite, + appPrefsWrapper = appPrefsWrapper, + cardReaderManager = cardReaderManager, + gatewayStore = gatewayStore, + errorClickHandler = errorClickHandler, ) }