Suppress warnings about unchecked casts
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 6 Dec 2016 21:12:27 +0000 (22:12 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 6 Dec 2016 21:19:38 +0000 (22:19 +0100)
src/test/kotlin/net/pterodactylus/sone/web/LoginPageTest.kt

index 3b5c74f..fbfeabe 100644 (file)
@@ -57,6 +57,7 @@ class LoginPageTest : WebPageTest() {
        }
 
        @Test
+       @Suppress("UNCHECKED_CAST")
        fun `post request with invalid sone sets sones and identities without sone in template context`() {
                request("", POST)
                page.handleRequest(freenetRequest, templateContext)