projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add unit test for create reply command
[Sone.git]
/
src
/
test
/
kotlin
/
net
/
pterodactylus
/
sone
/
fcp
/
SoneCommandTest.kt
diff --git
a/src/test/kotlin/net/pterodactylus/sone/fcp/SoneCommandTest.kt
b/src/test/kotlin/net/pterodactylus/sone/fcp/SoneCommandTest.kt
index
b2fb4ae
..
2f2de5c
100644
(file)
--- a/
src/test/kotlin/net/pterodactylus/sone/fcp/SoneCommandTest.kt
+++ b/
src/test/kotlin/net/pterodactylus/sone/fcp/SoneCommandTest.kt
@@
-37,6
+37,7
@@
abstract class SoneCommandTest {
@Before
fun setupCore() {
whenever(core.getSone(anyString())).thenReturn(absent())
+ whenever(core.getPost(anyString())).thenReturn(absent())
}
protected fun requestWithoutAnyParameterResultsInFcpException() {