From 15466c9706810b17cd5b6f08a10f2ffa45116c33 Mon Sep 17 00:00:00 2001 From: Clemens Date: Fri, 7 Jul 2023 08:40:52 +0200 Subject: [PATCH] Added NextcloudClientTest --- .../infrastructure/NextcloudClientTest.kt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/test/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/NextcloudClientTest.kt diff --git a/src/test/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/NextcloudClientTest.kt b/src/test/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/NextcloudClientTest.kt new file mode 100644 index 0000000..f93358d --- /dev/null +++ b/src/test/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/NextcloudClientTest.kt @@ -0,0 +1,16 @@ +package org.domaindrivenarchitecture.provs.desktop.infrastructure + +import org.domaindrivenarchitecture.provs.test.defaultTestContainer +import org.domaindrivenarchitecture.provs.test.tags.ExtensiveContainerTest +import org.junit.jupiter.api.Assertions.assertTrue + +internal class NextcloudClientTest { + @ExtensiveContainerTest + fun test_installNextcloudClient() { + // when + val res = defaultTestContainer().installNextcloudClient() + + // then + assertTrue(res.success) + } +}