🎨 Fix formatting
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / web / pages / UnfollowSonePageTest.kt
index 63b902b..39f4fd5 100644 (file)
@@ -11,21 +11,21 @@ import org.mockito.Mockito.*
 /**
  * Unit test for [UnfollowSonePage].
  */
-class UnfollowSonePageTest: WebPageTest(::UnfollowSonePage) {
+class UnfollowSonePageTest : WebPageTest(::UnfollowSonePage) {
 
        @Test
        fun `page returns correct path`() {
-           assertThat(page.path, equalTo("unfollowSone.html"))
+               assertThat(page.path, equalTo("unfollowSone.html"))
        }
 
        @Test
        fun `page requires login`() {
-           assertThat(page.requiresLogin(), equalTo(true))
+               assertThat(page.requiresLogin(), equalTo(true))
        }
 
        @Test
        fun `page returns correct page title`() {
-           addTranslation("Page.UnfollowSone.Title", "unfollow page title")
+               addTranslation("Page.UnfollowSone.Title", "unfollow page title")
                assertThat(page.getPageTitle(soneRequest), equalTo("unfollow page title"))
        }
 
@@ -57,7 +57,7 @@ class UnfollowSonePageTest: WebPageTest(::UnfollowSonePage) {
 
        @Test
        fun `page can be created by dependency injection`() {
-           assertThat(baseInjector.getInstance<UnfollowSonePage>(), notNullValue())
+               assertThat(baseInjector.getInstance<UnfollowSonePage>(), notNullValue())
        }
 
 }