From f5ab0bc5e1566b93b9f3a596937cdcb7b4d8e857 Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Tue, 30 Apr 2024 00:30:50 +0300 Subject: [PATCH] fix: Update CommandTestCase.php --- webfiori/cli/CommandTestCase.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webfiori/cli/CommandTestCase.php b/webfiori/cli/CommandTestCase.php index 7d0417f..c3cf593 100644 --- a/webfiori/cli/CommandTestCase.php +++ b/webfiori/cli/CommandTestCase.php @@ -139,6 +139,8 @@ public function getRunner(bool $reset = false) : Runner { */ public function setRunner(Runner $runner) : CommandTestCase { $this->runner = $runner; + + return $this; } private function exec(array $argv, array $userInputs, CLICommand $command = null) { if ($command !== null) {