summaryrefslogtreecommitdiff
path: root/libs/samba/src/test/java
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2024-09-25 21:13:31 +0200
committerJoel Klinghed <the_jk@spawned.biz>2024-09-25 21:13:31 +0200
commit5d68a40cab717fa7562c08dbf2eb9a4394f2e7a5 (patch)
tree27f228cb40e2c4b75727311e2cd6c2ff060232c0 /libs/samba/src/test/java
parent750e8a772ca54599a4a7859f059d656d828e4b78 (diff)
samba: Fix description test
Leftover from early test, there is a tree already.
Diffstat (limited to 'libs/samba/src/test/java')
-rw-r--r--libs/samba/src/test/java/org/the_jk/cleversync/samba/SambaTreeTest.kt4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/samba/src/test/java/org/the_jk/cleversync/samba/SambaTreeTest.kt b/libs/samba/src/test/java/org/the_jk/cleversync/samba/SambaTreeTest.kt
index fecd746..fd92fc0 100644
--- a/libs/samba/src/test/java/org/the_jk/cleversync/samba/SambaTreeTest.kt
+++ b/libs/samba/src/test/java/org/the_jk/cleversync/samba/SambaTreeTest.kt
@@ -45,9 +45,7 @@ class SambaTreeTest : TreeAbstractTest() {
@Test
fun description() {
val resources = ApplicationProvider.getApplicationContext<Context>().resources
- SambaTreeFactory.tree(uri, credentials).getOrThrow().use { tree ->
- assertThat(tree.description(resources).toString()).contains(uri)
- }
+ assertThat(tree.description(resources).toString()).contains(uri)
}
@Test