projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some missing tests for write access
[Sone.git]
/
src
/
test
/
kotlin
/
net
/
pterodactylus
/
sone
/
fcp
/
GetSonesCommandTest.kt
diff --git
a/src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt
b/src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt
index
f6ec734
..
0da4f24
100644
(file)
--- a/
src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt
+++ b/
src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt
@@
-24,6
+24,11
@@
class GetSonesCommandTest : SoneCommandTest() {
}
@Test
}
@Test
+ fun `command does not require write access`() {
+ assertThat(command.requiresWriteAccess(), equalTo(false))
+ }
+
+ @Test
fun `request without parameters lists all sones`() {
val replyParameters = command.execute(parameters).replyParameters
fun `request without parameters lists all sones`() {
val replyParameters = command.execute(parameters).replyParameters