Add some missing tests for write access
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / fcp / LikePostCommandTest.kt
index f88e138..792c1b7 100644 (file)
@@ -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()
        }