From 8a66d52d862e5353a097ca412881b390b244b7dc Mon Sep 17 00:00:00 2001 From: Syndesi Date: Tue, 26 Sep 2023 20:30:50 +0200 Subject: [PATCH] Removed - Test command, closes #138. --- CHANGELOG.md | 2 ++ src/Command/TestCommand.php | 48 ------------------------------------- 2 files changed, 2 insertions(+), 48 deletions(-) delete mode 100755 src/Command/TestCommand.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ed9b12f..873c209f 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Unreleased +### Removed +- Test command, closes #138. ## 0.0.31 - 2023-09-26 ### Added diff --git a/src/Command/TestCommand.php b/src/Command/TestCommand.php deleted file mode 100755 index 2d8c1ea2..00000000 --- a/src/Command/TestCommand.php +++ /dev/null @@ -1,48 +0,0 @@ -accessChecker->getDirectGroupsWithAccessToElement($dataUuid, AccessType::DELETE); - foreach ($uuids as $uuid) { - $output->writeln(sprintf( - 'Group with UUID %s has access to data node.', - $uuid->toString() - )); - } - $output->writeln(''); - - $uuids = $this->accessChecker->getDirectUsersWithAccessToElement($dataUuid, AccessType::DELETE); - foreach ($uuids as $uuid) { - $output->writeln(sprintf( - 'User with UUID %s has access to data node.', - $uuid->toString() - )); - } - - return Command::SUCCESS; - } -}