projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use verifyNoRedirect instead of calling the request handler directly
[Sone.git]
/
src
/
test
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
pages
/
UnfollowSonePageTest.kt
diff --git
a/src/test/kotlin/net/pterodactylus/sone/web/pages/UnfollowSonePageTest.kt
b/src/test/kotlin/net/pterodactylus/sone/web/pages/UnfollowSonePageTest.kt
index
ad5216e
..
7e19a26
100644
(file)
--- a/
src/test/kotlin/net/pterodactylus/sone/web/pages/UnfollowSonePageTest.kt
+++ b/
src/test/kotlin/net/pterodactylus/sone/web/pages/UnfollowSonePageTest.kt
@@
-15,7
+15,7
@@
class UnfollowSonePageTest : WebPageTest() {
@Test
fun `get request does not redirect`() {
- page.handleRequest(freenetRequest, templateContext)
+ verifyNoRedirect { }
}
@Test