diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2024-09-25 21:13:31 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2024-09-25 21:13:31 +0200 |
| commit | 5d68a40cab717fa7562c08dbf2eb9a4394f2e7a5 (patch) | |
| tree | 27f228cb40e2c4b75727311e2cd6c2ff060232c0 /libs/samba/src/test/java/org/the_jk | |
| parent | 750e8a772ca54599a4a7859f059d656d828e4b78 (diff) | |
samba: Fix description test
Leftover from early test, there is a tree already.
Diffstat (limited to 'libs/samba/src/test/java/org/the_jk')
| -rw-r--r-- | libs/samba/src/test/java/org/the_jk/cleversync/samba/SambaTreeTest.kt | 4 |
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 |
