From: David ‘Bombe’ Roden Date: Tue, 20 Jun 2017 12:33:36 +0000 (+0200) Subject: Convert create album page test to use new web page test base X-Git-Tag: 0.9.7^2~117 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=fb7a7d75e5d97392e2b204d98e0e131130037b18;p=Sone.git Convert create album page test to use new web page test base --- diff --git a/src/test/kotlin/net/pterodactylus/sone/web/pages/CreateAlbumPageTest.kt b/src/test/kotlin/net/pterodactylus/sone/web/pages/CreateAlbumPageTest.kt index 7c4f07b..4d8ec26 100644 --- a/src/test/kotlin/net/pterodactylus/sone/web/pages/CreateAlbumPageTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/web/pages/CreateAlbumPageTest.kt @@ -16,11 +16,7 @@ import org.mockito.Mockito.verify /** * Unit test for [CreateAlbumPage]. */ -class CreateAlbumPageTest: WebPageTest() { - - private val page = CreateAlbumPage(template, webInterface) - - override fun getPage() = page +class CreateAlbumPageTest: WebPageTest2(::CreateAlbumPage) { private val parentAlbum = createAlbum("parent-id") private val newAlbum = createAlbum("album-id")