projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🚚 Rename test for list notification filter
[Sone.git]
/
src
/
test
/
kotlin
/
net
/
pterodactylus
/
sone
/
notify
/
DefaultPostVisibilityFilterTest.kt
diff --git
a/src/test/kotlin/net/pterodactylus/sone/notify/DefaultPostVisibilityFilterTest.kt
b/src/test/kotlin/net/pterodactylus/sone/notify/DefaultPostVisibilityFilterTest.kt
index
8a9a699
..
e49b6d4
100644
(file)
--- a/
src/test/kotlin/net/pterodactylus/sone/notify/DefaultPostVisibilityFilterTest.kt
+++ b/
src/test/kotlin/net/pterodactylus/sone/notify/DefaultPostVisibilityFilterTest.kt
@@
-111,13
+111,13
@@
class DefaultPostVisibilityFilterTest {
@Test
fun `predicate will correctly recognize visible post`() {
val post = createPost(sone = localSone)
@Test
fun `predicate will correctly recognize visible post`() {
val post = createPost(sone = localSone)
- assertThat(postVisibilityFilter.isVisible(null).
test
(post), equalTo(true))
+ assertThat(postVisibilityFilter.isVisible(null).
invoke
(post), equalTo(true))
}
@Test
fun `predicate will correctly recognize not visible post`() {
val post = createPost(loaded = false)
}
@Test
fun `predicate will correctly recognize not visible post`() {
val post = createPost(loaded = false)
- assertThat(postVisibilityFilter.isVisible(null).
test
(post), equalTo(false))
+ assertThat(postVisibilityFilter.isVisible(null).
invoke
(post), equalTo(false))
}
}
}
}