diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-10-28 23:06:49 +0100 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-10-29 08:19:03 +0100 |
commit | c5daf112bed9d958f70073fd1cb199beff322334 (patch) | |
tree | 1ad53dd9da69bf6e991339b97ad754755b6e13fe /lib/Command/Config/FeedList.php | |
parent | 47104a1971f1c254ade89d9c084e73a446cc8c20 (diff) |
Command: Add unittests
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Command/Config/FeedList.php')
-rw-r--r-- | lib/Command/Config/FeedList.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Command/Config/FeedList.php b/lib/Command/Config/FeedList.php index 0c547868c..3462ff5c8 100644 --- a/lib/Command/Config/FeedList.php +++ b/lib/Command/Config/FeedList.php @@ -33,7 +33,7 @@ class FeedList extends Command { $this->setName('news:feed:list') ->setDescription('List all feeds') - ->addArgument('userID', InputArgument::REQUIRED, 'User to list the feeds for') + ->addArgument('user-id', InputArgument::REQUIRED, 'User to list the feeds for') ->addOption('recursive', null, InputOption::VALUE_NONE, 'Fetch the feed recursively'); } @@ -47,7 +47,7 @@ class FeedList extends Command */ protected function execute(InputInterface $input, OutputInterface $output) { - $user = $input->getArgument('userID'); + $user = $input->getArgument('user-id'); $recursive = $input->getOption('recursive'); if ($recursive !== false) { |