projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🔥 Delegate session provider in web interface
[Sone.git]
/
src
/
test
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
pages
/
CreateReplyPageTest.kt
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
(file)
--- 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].
*/
/**
* Unit test for [CreateReplyPage].
*/
-class CreateReplyPageTest: WebPageTest(::CreateReplyPage) {
+class CreateReplyPageTest
: WebPageTest(::CreateReplyPage) {
@Test
fun `page returns correct path`() {
@Test
fun `page returns correct path`() {
@@
-88,12
+88,12
@@
class CreateReplyPageTest: WebPageTest(::CreateReplyPage) {
@Test
fun `page can be created by dependency injection`() {
@Test
fun `page can be created by dependency injection`() {
- assertThat(baseInjector.getInstance<CreateReplyPage>(), notNullValue())
+
assertThat(baseInjector.getInstance<CreateReplyPage>(), notNullValue())
}
@Test
fun `page is annotated with correct template path`() {
}
@Test
fun `page is annotated with correct template path`() {
- assertThat(page.templatePath, equalTo("/templates/createReply.html"))
+
assertThat(page.templatePath, equalTo("/templates/createReply.html"))
}
}
}
}