From 445ce5a49f08eada2ac16c89be0f69e855863eaa Mon Sep 17 00:00:00 2001 From: Rodolfo Berrios <20590102+rodber@users.noreply.github.com> Date: Thu, 8 Feb 2024 12:47:44 -0300 Subject: [PATCH] =?UTF-8?q?works=20on=20my=20machine=20=E2=84=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 2 +- tests/RunnerTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 122913f..a64df76 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "amphp/parallel": "^1.4", "chevere/action": "^1.0.0", "chevere/data-structure": "^1.0.1", - "chevere/parameter": "^1.0.0", + "chevere/parameter": "^1.0.x-dev", "chevere/regex": "^1.0.1", "ramsey/uuid": "^4.7" }, diff --git a/tests/RunnerTest.php b/tests/RunnerTest.php index 75bddab..5c27708 100644 --- a/tests/RunnerTest.php +++ b/tests/RunnerTest.php @@ -196,7 +196,7 @@ public function testWithRunIfVariable(): void $runner = $runner->withRunJob('job1'); $action = $job->action(); $this->assertSame( - $action->__invoke()->array(), + $action->__invoke(), $runner->run()->getReturn('job1')->array() ); $arguments = [ @@ -255,7 +255,7 @@ private function assertExpectedRun(array $jobs, array $runArguments, RunInterfac foreach ($jobs as $name => $job) { $action = $job->action(); $this->assertSame( - $action->__invoke(...$runArguments[$name])->array(), + $action->__invoke(...$runArguments[$name]), $run->getReturn($name)->array() ); }