summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2021-02-23 17:19:10 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-03-01 21:13:44 +0100
commitbcdeb55fcbbbd02955e5cafd47d8d8db2670f22c (patch)
treea525dcbe2109b5cd180c765707001a462656371c /lib
parent59885c27f7a6cddc2a6d06d1a91885780190f1ee (diff)
Actions: Integration tests using bats
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib')
-rw-r--r--lib/Command/Config/FolderAdd.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Command/Config/FolderAdd.php b/lib/Command/Config/FolderAdd.php
index 503d63a31..2d20064ab 100644
--- a/lib/Command/Config/FolderAdd.php
+++ b/lib/Command/Config/FolderAdd.php
@@ -55,7 +55,9 @@ class FolderAdd extends Command
$parent = intval($parent);
}
- $this->folderService->create($user, $name, $parent);
+ $folder = $this->folderService->create($user, $name, $parent);
+
+ $output->writeln('new folder: ' . $folder->getId());
return 0;
}