X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Ftest%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FSoneCommandTest.kt;h=de926121a29e0f9470d7940aab76ffeab5938f7c;hb=b91623458a0059ec31e6f57768b5814df97c093a;hp=53976833e8aded5cf67b3fe4b99c5df32b679105;hpb=fafe0029dcbef27ce918fdf7007e78c8705ca20f;p=Sone.git diff --git a/src/test/kotlin/net/pterodactylus/sone/fcp/SoneCommandTest.kt b/src/test/kotlin/net/pterodactylus/sone/fcp/SoneCommandTest.kt index 5397683..de92612 100644 --- a/src/test/kotlin/net/pterodactylus/sone/fcp/SoneCommandTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/fcp/SoneCommandTest.kt @@ -39,7 +39,7 @@ abstract class SoneCommandTest { @Before fun setupCore() { whenever(core.getSone(anyString())).thenReturn(null) - whenever(core.getPost(anyString())).thenReturn(absent()) + whenever(core.getPost(anyString())).thenReturn(null) whenever(core.getPostReply(anyString())).thenReturn(null) }