Skip to content

Commit

Permalink
works on my machine ™
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Feb 8, 2024
1 parent 8e148ba commit 445ce5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
4 changes: 2 additions & 2 deletions tests/RunnerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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()
);
}
Expand Down

0 comments on commit 445ce5a

Please sign in to comment.