From: David ‘Bombe’ Roden Date: Mon, 2 Oct 2017 09:58:27 +0000 (+0200) Subject: Fix test for mark as known page X-Git-Tag: 0.9.7^2~48 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=5f4783e98cd87731caebfc0902095932e82010f6;p=Sone.git Fix test for mark as known page --- diff --git a/src/test/kotlin/net/pterodactylus/sone/web/ajax/MarkAsKnownAjaxPageTest.kt b/src/test/kotlin/net/pterodactylus/sone/web/ajax/MarkAsKnownAjaxPageTest.kt index b2db4c1..c867c96 100644 --- a/src/test/kotlin/net/pterodactylus/sone/web/ajax/MarkAsKnownAjaxPageTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/web/ajax/MarkAsKnownAjaxPageTest.kt @@ -26,7 +26,7 @@ class MarkAsKnownAjaxPageTest : JsonPageTest("markAsKnown.ajax", requiresLogin = @Test fun `request with unknown sone returns successfully`() { addRequestParameter("type", "sone") - addRequestParameter("sone", "invalid") + addRequestParameter("id", "invalid") assertThat(json.isSuccess, equalTo(true)) verify(core, never()).markSoneKnown(any()) }