From: David ‘Bombe’ Roden Date: Mon, 2 Oct 2017 09:28:37 +0000 (+0200) Subject: Add unit test for logged in json page X-Git-Tag: 0.9.7^2~50 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e9050bf28145519223b496b5cce5796b22bcb4f3;p=Sone.git Add unit test for logged in json page --- diff --git a/src/test/kotlin/net/pterodactylus/sone/web/ajax/LoggedInJsonPageTest.kt b/src/test/kotlin/net/pterodactylus/sone/web/ajax/LoggedInJsonPageTest.kt new file mode 100644 index 0000000..9578d45 --- /dev/null +++ b/src/test/kotlin/net/pterodactylus/sone/web/ajax/LoggedInJsonPageTest.kt @@ -0,0 +1,6 @@ +package net.pterodactylus.sone.web.ajax + +/** + * Unit test for [LoggedInJsonPageTest]. + */ +class LoggedInJsonPageTest : JsonPageTest("path", requiresLogin = true, pageSupplier = { webInterface -> LoggedInJsonPage("path", webInterface) })