From 3fb4558b081cc9b8047e6422c2246ac22fcf1949 Mon Sep 17 00:00:00 2001 From: ThomazFB Date: Thu, 30 Jan 2025 15:17:19 -0300 Subject: [PATCH] Fix lint issues --- .../customs/WooShippingCustomsFormViewModelTest.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/WooCommerce/src/test/kotlin/com/woocommerce/android/ui/orders/wooshippinglabels/customs/WooShippingCustomsFormViewModelTest.kt b/WooCommerce/src/test/kotlin/com/woocommerce/android/ui/orders/wooshippinglabels/customs/WooShippingCustomsFormViewModelTest.kt index dec97e93ea9..7dae799c894 100644 --- a/WooCommerce/src/test/kotlin/com/woocommerce/android/ui/orders/wooshippinglabels/customs/WooShippingCustomsFormViewModelTest.kt +++ b/WooCommerce/src/test/kotlin/com/woocommerce/android/ui/orders/wooshippinglabels/customs/WooShippingCustomsFormViewModelTest.kt @@ -1,6 +1,5 @@ package com.woocommerce.android.ui.orders.wooshippinglabels.customs -import androidx.lifecycle.Observer import androidx.lifecycle.SavedStateHandle import com.woocommerce.android.ui.orders.wooshippinglabels.customs.WooShippingCustomsFormViewModel.ContentType import com.woocommerce.android.ui.orders.wooshippinglabels.customs.WooShippingCustomsFormViewModel.RestrictionType @@ -10,7 +9,6 @@ import com.woocommerce.android.ui.orders.wooshippinglabels.customs.WooShippingCu import com.woocommerce.android.viewmodel.BaseUnitTest import com.woocommerce.android.viewmodel.MultiLiveEvent import kotlinx.coroutines.ExperimentalCoroutinesApi -import kotlinx.coroutines.test.runBlockingTest import org.assertj.core.api.Assertions.assertThat import org.junit.Before import org.junit.Test @@ -47,7 +45,7 @@ class WooShippingCustomsFormViewModelTest : BaseUnitTest() { } @Test - fun `onITNChanged should update itnValue in viewState`() = runBlockingTest { + fun `onITNChanged should update itnValue in viewState`() = testBlocking { val newItnValue = "123456" var capturedViewState: ViewState? = null viewModel.viewState.observeForever {