projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🚧 Lock Sone if after loading it’s empty
[Sone.git]
/
src
/
test
/
kotlin
/
net
/
pterodactylus
/
sone
/
web
/
WebInterfaceModuleTest.kt
diff --git
a/src/test/kotlin/net/pterodactylus/sone/web/WebInterfaceModuleTest.kt
b/src/test/kotlin/net/pterodactylus/sone/web/WebInterfaceModuleTest.kt
index
9137da3
..
ec09b20
100644
(file)
--- a/
src/test/kotlin/net/pterodactylus/sone/web/WebInterfaceModuleTest.kt
+++ b/
src/test/kotlin/net/pterodactylus/sone/web/WebInterfaceModuleTest.kt
@@
-20,6
+20,7
@@
import net.pterodactylus.util.web.*
import org.hamcrest.MatcherAssert.*
import org.hamcrest.Matchers.*
import org.junit.*
import org.hamcrest.MatcherAssert.*
import org.hamcrest.Matchers.*
import org.junit.*
+import kotlin.test.Test
class WebInterfaceModuleTest {
class WebInterfaceModuleTest {
@@
-200,6
+201,11
@@
class WebInterfaceModuleTest {
}
@Test
}
@Test
+ fun `template context contains duration format filter`() {
+ verifyFilter<DurationFormatFilter>("duration")
+ }
+
+ @Test
fun `template context contains collection sort filter`() {
verifyFilter<CollectionSortFilter>("sort")
}
fun `template context contains collection sort filter`() {
verifyFilter<CollectionSortFilter>("sort")
}