🎨 Fix formatting
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / web / pages / UnlockSonePageTest.kt
index 7f839fa..8627fd4 100644 (file)
@@ -14,22 +14,22 @@ import org.mockito.Mockito.verify
 /**
  * Unit test for [UnlockSonePage].
  */
 /**
  * Unit test for [UnlockSonePage].
  */
-class UnlockSonePageTest: WebPageTest(::UnlockSonePage) {
+class UnlockSonePageTest : WebPageTest(::UnlockSonePage) {
 
        @Test
        fun `page returns correct path`() {
 
        @Test
        fun `page returns correct path`() {
-           assertThat(page.path, equalTo("unlockSone.html"))
+               assertThat(page.path, equalTo("unlockSone.html"))
        }
 
        @Test
        fun `page does not require login`() {
        }
 
        @Test
        fun `page does not require login`() {
-           assertThat(page.requiresLogin(), equalTo(false))
+               assertThat(page.requiresLogin(), equalTo(false))
        }
 
        @Test
        fun `page returns correct title`() {
                addTranslation("Page.UnlockSone.Title", "unlock page title")
        }
 
        @Test
        fun `page returns correct title`() {
                addTranslation("Page.UnlockSone.Title", "unlock page title")
-           assertThat(page.getPageTitle(soneRequest), equalTo("unlock page title"))
+               assertThat(page.getPageTitle(soneRequest), equalTo("unlock page title"))
        }
 
        @Test
        }
 
        @Test
@@ -76,7 +76,7 @@ class UnlockSonePageTest: WebPageTest(::UnlockSonePage) {
 
        @Test
        fun `page can be created by dependency injection`() {
 
        @Test
        fun `page can be created by dependency injection`() {
-           assertThat(baseInjector.getInstance<UnlockSonePage>(), notNullValue())
+               assertThat(baseInjector.getInstance<UnlockSonePage>(), notNullValue())
        }
 
 }
        }
 
 }