X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Ftest%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fpages%2FCreateReplyPageTest.kt;h=062a0101710836fe46b9385110ed16ae4505688c;hp=5edd766d037a95374466f962e5a6210cffea0267;hb=2e6be6f2fb6afede009dacc48b8e3318e30e5057;hpb=a76956e389fcfe6282ad4ca7156bbf76327bb0c0 diff --git a/src/test/kotlin/net/pterodactylus/sone/web/pages/CreateReplyPageTest.kt b/src/test/kotlin/net/pterodactylus/sone/web/pages/CreateReplyPageTest.kt index 5edd766..062a010 100644 --- a/src/test/kotlin/net/pterodactylus/sone/web/pages/CreateReplyPageTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/web/pages/CreateReplyPageTest.kt @@ -13,7 +13,7 @@ import org.mockito.Mockito.* /** * Unit test for [CreateReplyPage]. */ -class CreateReplyPageTest: WebPageTest(::CreateReplyPage) { +class CreateReplyPageTest : WebPageTest(::CreateReplyPage) { @Test fun `page returns correct path`() { @@ -88,12 +88,12 @@ class CreateReplyPageTest: WebPageTest(::CreateReplyPage) { @Test fun `page can be created by dependency injection`() { - assertThat(baseInjector.getInstance(), notNullValue()) + assertThat(baseInjector.getInstance(), notNullValue()) } @Test fun `page is annotated with correct template path`() { - assertThat(page.templatePath, equalTo("/templates/createReply.html")) + assertThat(page.templatePath, equalTo("/templates/createReply.html")) } }