X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Ftest%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FLikePostCommandTest.kt;fp=src%2Ftest%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FLikePostCommandTest.kt;h=86fb586bc799865945bf244d7ec58b50ae2428f0;hp=792c1b707f4be9fcd32a19d7e9221fcd914d1ab2;hb=8bd23036d9675a88d7f7b27314ca1e4cc19c7586;hpb=ae078c3b54fce575270aae9ec645a286641aea71 diff --git a/src/test/kotlin/net/pterodactylus/sone/fcp/LikePostCommandTest.kt b/src/test/kotlin/net/pterodactylus/sone/fcp/LikePostCommandTest.kt index 792c1b7..86fb586 100644 --- a/src/test/kotlin/net/pterodactylus/sone/fcp/LikePostCommandTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/fcp/LikePostCommandTest.kt @@ -17,7 +17,7 @@ import org.mockito.Mockito.verify */ class LikePostCommandTest : SoneCommandTest() { - private val post = createPost("PostId", mock(), null, 1000, "Text") + private val post = createPost("PostId", mock(), null, 1000, "Text") override fun createCommand(core: Core) = LikePostCommand(core) @@ -35,7 +35,7 @@ class LikePostCommandTest : SoneCommandTest() { @Test fun `request without parameters results in FCP exception`() { - requestWithoutAnyParameterResultsInFcpException() + requestWithoutAnyParameterResultsInFcpException() } @Test @@ -47,7 +47,7 @@ class LikePostCommandTest : SoneCommandTest() { @Test fun `request with missing local sone results in FCP exception`() { - parameters += "Post" to "PostId" + parameters += "Post" to "PostId" expectedException.expect(FcpException::class.java) command.execute(parameters) }