Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
test(desktop): fix test Associate backpack, remove final check
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaBrighi committed Jul 12, 2023
1 parent eb69a10 commit c104a0e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,9 @@ class UseCaseTest : StringSpec({
} returns (desktop)
coEvery {
repository.associateBackpack(any(), any())
} returns (backpack)
} returns backpack
val result = useCase.associateBackpack(backpack)
result.isSuccess shouldBe true
result.getOrNull()!!.isBackpackAssociated shouldBe true
}

"Associate backpack with error" {
Expand Down

0 comments on commit c104a0e

Please sign in to comment.