X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Ftest%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FGetPostsCommandTest.kt;h=d90ec1c4307e5218d929ab05bc9a51cde5234cfd;hp=007240aaf58f4a0d88510511f0891add443a9eb8;hb=c088dd5a2896d777cc30c5676583782bfa923729;hpb=7522c3e795b53134beadd21c2e72fe48500bde6a diff --git a/src/test/kotlin/net/pterodactylus/sone/fcp/GetPostsCommandTest.kt b/src/test/kotlin/net/pterodactylus/sone/fcp/GetPostsCommandTest.kt index 007240a..d90ec1c 100644 --- a/src/test/kotlin/net/pterodactylus/sone/fcp/GetPostsCommandTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/fcp/GetPostsCommandTest.kt @@ -52,7 +52,7 @@ class GetPostsCommandTest : SoneCommandTest() { whenever(core.getSone("LocalSone")).thenReturn(localSone.asOptional()) whenever(core.getSone("ValidSoneId")).thenReturn(remoteSone.asOptional()) whenever(remoteSone.posts).thenReturn(listOf(post2, post1)) - parameters.putSingle("Sone", "ValidSoneId") + parameters += "Sone" to "ValidSoneId" } private fun verifyFirstPost(replyParameters: SimpleFieldSet, index: Int = 0) {