Skip to content

Commit

Permalink
fix: tests epic
Browse files Browse the repository at this point in the history
  • Loading branch information
zizouet committed Jun 2, 2024
1 parent 02dea06 commit 8575298
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ class Epic1Test : TestCase(kaspressoBuilder = Kaspresso.Builder.withComposeSuppo
}

every { associationNameValid(any()) } returns true

every { getLogo(any(), any(), any()) } answers {}
}

private val userAPI =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ class Epic2Test : TestCase(kaspressoBuilder = Kaspresso.Builder.withComposeSuppo
val onSuccessCallback = secondArg<(Association) -> Unit>()
onSuccessCallback.invoke(associations.find { it.uid == assoID }!!)
}
every { getLogo(any(), any(), any()) } answers {}
}

private val userAPI =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ class Epic4Test : TestCase(kaspressoBuilder = Kaspresso.Builder.withComposeSuppo
}

every { associationNameValid(any()) } returns true
every { getLogo(any(), any(), any()) } answers {}
}

private val userAPI =
Expand Down

0 comments on commit 8575298

Please sign in to comment.