/**
* Unit test for [OptionsPage].
*/
-class OptionsPageTest : WebPageTest() {
+class OptionsPageTest: WebPageTest() {
private val page = OptionsPage(template, webInterface)
@Test
fun `page returns correct path`() {
- assertThat(page.path, equalTo("options.html"))
+ assertThat(page.path, equalTo("options.html"))
}
@Test
@Test
fun `page returns correct title`() {
- addTranslation("Page.Options.Title", "options page title")
+ addTranslation("Page.Options.Title", "options page title")
assertThat(page.getPageTitle(freenetRequest), equalTo("options page title"))
}