Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomazFB committed Jan 30, 2025
1 parent eb675b7 commit 3fb4558
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 3fb4558

Please sign in to comment.