X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Ftest%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FGetSonesCommandTest.kt;h=0da4f24e56a48c98c1d15147e1b19cb6e578feb9;hp=f6ec734f339d1422df45e09e5d82286d5405dd43;hb=ae078c3b54fce575270aae9ec645a286641aea71;hpb=c950203916854545d27f8b5adb19ef0168a449c1 diff --git a/src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt b/src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt index f6ec734..0da4f24 100644 --- a/src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt @@ -24,6 +24,11 @@ class GetSonesCommandTest : SoneCommandTest() { } @Test + fun `command does not require write access`() { + assertThat(command.requiresWriteAccess(), equalTo(false)) + } + + @Test fun `request without parameters lists all sones`() { val replyParameters = command.execute(parameters).replyParameters