projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix annotations
[Sone.git]
/
src
/
test
/
kotlin
/
net
/
pterodactylus
/
sone
/
fcp
/
LikeReplyCommandTest.kt
diff --git
a/src/test/kotlin/net/pterodactylus/sone/fcp/LikeReplyCommandTest.kt
b/src/test/kotlin/net/pterodactylus/sone/fcp/LikeReplyCommandTest.kt
index
b5f7823
..
d222c27
100644
(file)
--- a/
src/test/kotlin/net/pterodactylus/sone/fcp/LikeReplyCommandTest.kt
+++ b/
src/test/kotlin/net/pterodactylus/sone/fcp/LikeReplyCommandTest.kt
@@
-30,6
+30,11
@@
class LikeReplyCommandTest : SoneCommandTest() {
}
@Test
}
@Test
+ fun `command requires write access`() {
+ assertThat(command.requiresWriteAccess(), equalTo(true))
+ }
+
+ @Test
fun `request without parameters results in FCP exception`() {
requestWithoutAnyParameterResultsInFcpException()
}
fun `request without parameters results in FCP exception`() {
requestWithoutAnyParameterResultsInFcpException()
}