X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftest%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FGetSonesCommandTest.kt;h=252eae3fd872ec4c9e48ad66664a8280e266a560;hb=8bd23036d9675a88d7f7b27314ca1e4cc19c7586;hp=0da4f24e56a48c98c1d15147e1b19cb6e578feb9;hpb=ae078c3b54fce575270aae9ec645a286641aea71;p=Sone.git diff --git a/src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt b/src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt index 0da4f24..252eae3 100644 --- a/src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt @@ -30,7 +30,7 @@ class GetSonesCommandTest : SoneCommandTest() { @Test fun `request without parameters lists all sones`() { - val replyParameters = command.execute(parameters).replyParameters + val replyParameters = command.execute(parameters).replyParameters assertThat(replyParameters["Message"], equalTo("Sones")) assertThat(replyParameters["Sones.Count"], equalTo("3")) @@ -42,7 +42,7 @@ class GetSonesCommandTest : SoneCommandTest() { @Test fun `skipping the first sone lists the last two sones`() { parameters += "StartSone" to "1" - val replyParameters = command.execute(parameters).replyParameters + val replyParameters = command.execute(parameters).replyParameters assertThat(replyParameters["Message"], equalTo("Sones")) assertThat(replyParameters["Sones.Count"], equalTo("2")) @@ -53,7 +53,7 @@ class GetSonesCommandTest : SoneCommandTest() { @Test fun `requesting only two sones lists the first two sones`() { parameters += "MaxSones" to "2" - val replyParameters = command.execute(parameters).replyParameters + val replyParameters = command.execute(parameters).replyParameters assertThat(replyParameters["Message"], equalTo("Sones")) assertThat(replyParameters["Sones.Count"], equalTo("2")) @@ -64,7 +64,7 @@ class GetSonesCommandTest : SoneCommandTest() { @Test fun `skipping more sones than there are lists no sones`() { parameters += "StartSone" to "20" - val replyParameters = command.execute(parameters).replyParameters + val replyParameters = command.execute(parameters).replyParameters assertThat(replyParameters["Message"], equalTo("Sones")) assertThat(replyParameters["Sones.Count"], equalTo("0"))