projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🔀 Merge 'feature/remove-trust-functions' into 'next'
[Sone.git]
/
src
/
test
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
pages
/
AboutPageTest.kt
diff --git
a/src/test/kotlin/net/pterodactylus/sone/web/pages/AboutPageTest.kt
b/src/test/kotlin/net/pterodactylus/sone/web/pages/AboutPageTest.kt
index
5201704
..
c3f0f76
100644
(file)
--- a/
src/test/kotlin/net/pterodactylus/sone/web/pages/AboutPageTest.kt
+++ b/
src/test/kotlin/net/pterodactylus/sone/web/pages/AboutPageTest.kt
@@
-1,14
+1,12
@@
package net.pterodactylus.sone.web.pages
import net.pterodactylus.sone.main.*
package net.pterodactylus.sone.web.pages
import net.pterodactylus.sone.main.*
-import net.pterodactylus.sone.test.getInstance
-import net.pterodactylus.sone.test.isProvidedByMock
-import net.pterodactylus.sone.web.baseInjector
+import net.pterodactylus.sone.test.*
+import net.pterodactylus.sone.web.*
import net.pterodactylus.sone.web.page.*
import net.pterodactylus.sone.web.page.*
-import org.hamcrest.MatcherAssert.assertThat
-import org.hamcrest.Matchers.equalTo
-import org.hamcrest.Matchers.notNullValue
-import org.junit.Test
+import org.hamcrest.MatcherAssert.*
+import org.hamcrest.Matchers.*
+import org.junit.*
/**
* Unit test for [AboutPage].
/**
* Unit test for [AboutPage].
@@
-61,12
+59,12
@@
class AboutPageTest : WebPageTest({ webInterface, loaders, templateRenderer -> A
@Test
fun `page is annotated with correct menuname`() {
@Test
fun `page is annotated with correct menuname`() {
- assertThat(page.menuName, equalTo("About"))
+
assertThat(page.menuName, equalTo("About"))
}
@Test
fun `page is annotated with correct template path`() {
}
@Test
fun `page is annotated with correct template path`() {
- assertThat(page.templatePath, equalTo("/templates/about.html"))
+
assertThat(page.templatePath, equalTo("/templates/about.html"))
}
}
}
}