X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Ftest%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FLikePostCommandTest.kt;h=792c1b707f4be9fcd32a19d7e9221fcd914d1ab2;hp=f88e138643152284b7ae63b35a411b65adaff25d;hb=ae078c3b54fce575270aae9ec645a286641aea71;hpb=c950203916854545d27f8b5adb19ef0168a449c1 diff --git a/src/test/kotlin/net/pterodactylus/sone/fcp/LikePostCommandTest.kt b/src/test/kotlin/net/pterodactylus/sone/fcp/LikePostCommandTest.kt index f88e138..792c1b7 100644 --- a/src/test/kotlin/net/pterodactylus/sone/fcp/LikePostCommandTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/fcp/LikePostCommandTest.kt @@ -29,6 +29,11 @@ class LikePostCommandTest : SoneCommandTest() { } @Test + fun `command requires write access`() { + assertThat(command.requiresWriteAccess(), equalTo(true)) + } + + @Test fun `request without parameters results in FCP exception`() { requestWithoutAnyParameterResultsInFcpException() }