Skip to content

Commit

Permalink
chore: revert unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ohassine committed Dec 11, 2024
1 parent 6d1b2f9 commit fb080ec
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import io.mockk.coVerify
import io.mockk.impl.annotations.MockK
import io.mockk.mockk
import io.mockk.verify
import kotlinx.coroutines.flow.flowOf
import kotlinx.coroutines.test.runTest
import org.amshove.kluent.internal.assertEquals
import org.junit.jupiter.api.Assertions
Expand Down Expand Up @@ -261,6 +262,8 @@ class TeamMigrationViewModelTest {

init {
MockKAnnotations.init(this, relaxUnitFun = true)
coEvery { getSelfUser() } returns flowOf()
coEvery { getTeamUrl() } returns "TeamUrl"
}

fun arrange() = this to TeamMigrationViewModel(
Expand Down

0 comments on commit fb080ec

Please sign in to comment.