Add unit test for logged in json page
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 2 Oct 2017 09:28:37 +0000 (11:28 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 2 Oct 2017 09:28:37 +0000 (11:28 +0200)
src/test/kotlin/net/pterodactylus/sone/web/ajax/LoggedInJsonPageTest.kt [new file with mode: 0644]

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 (file)
index 0000000..9578d45
--- /dev/null
@@ -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) })