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