From a17f973e4773c0f77882a30c04f9b3a30390e148 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 19 Jun 2017 10:46:21 +0200 Subject: [PATCH] Convert mark as known page test to use new web page test base --- .../kotlin/net/pterodactylus/sone/web/pages/MarkAsKnownPageTest.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/test/kotlin/net/pterodactylus/sone/web/pages/MarkAsKnownPageTest.kt b/src/test/kotlin/net/pterodactylus/sone/web/pages/MarkAsKnownPageTest.kt index 1e62a81..3744b5b 100644 --- a/src/test/kotlin/net/pterodactylus/sone/web/pages/MarkAsKnownPageTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/web/pages/MarkAsKnownPageTest.kt @@ -13,11 +13,7 @@ import org.mockito.Mockito.verify /** * Unit test for [MarkAsKnownPage]. */ -class MarkAsKnownPageTest: WebPageTest() { - - private val page = MarkAsKnownPage(template, webInterface) - - override fun getPage() = page +class MarkAsKnownPageTest: WebPageTest2(::MarkAsKnownPage) { @Test fun `page returns correct path`() { -- 2.7.4