/**
* Unit test for [EditProfileFieldPage].
*/
-class EditProfileFieldPageTest : WebPageTest() {
-
- private val page = EditProfileFieldPage(template, webInterface)
+class EditProfileFieldPageTest: WebPageTest(::EditProfileFieldPage) {
private val profile = Profile(currentSone)
private val field = profile.addField("Name")
- override fun getPage() = page
-
@Before
fun setupProfile() {
whenever(currentSone.profile).thenReturn(profile)