Use verifyNoRedirect instead of calling the request handler directly
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / web / pages / UnfollowSonePageTest.kt
index ad5216e..7e19a26 100644 (file)
@@ -15,7 +15,7 @@ class UnfollowSonePageTest : WebPageTest() {
 
        @Test
        fun `get request does not redirect`() {
-               page.handleRequest(freenetRequest, templateContext)
+               verifyNoRedirect { }
        }
 
        @Test