Skip to content

Commit

Permalink
Update src/test/kotlin/no/nb/mlt/wls/domain/WLSServiceTest.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
MormonJesus69420 authored Oct 3, 2024
1 parent 5996da2 commit 5709e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/kotlin/no/nb/mlt/wls/domain/WLSServiceTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class WLSServiceTest {
val cut = WLSService(itemRepoMock, orderRepoMock, storageSystemRepoMock)
runTest {
assertThrows<RuntimeException> {
cut.moveItem(testItem.hostId, testItem.hostName, -1.0, " ")
cut.moveItem(testItem.hostId, testItem.hostName, -1.0, "Somewhere nice")
}

coVerify(exactly = 0) { itemRepoMock.getItem(any(), any()) }
Expand Down

0 comments on commit 5709e75

Please sign in to comment.