aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/json2phpunit.php
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-04-29 22:54:45 +0900
committernsfisis <nsfisis@gmail.com>2024-04-29 22:54:45 +0900
commitbd72d3c4acde3f5e79bd494d4678a6e72e92e313 (patch)
tree0d0a9e09d915dc185ec99b7b7bda68b380c93b84 /tools/json2phpunit.php
parent7b982693cc5f25f9010c30ef14f719e05a3ae605 (diff)
downloadphp-waddiwasi-bd72d3c4acde3f5e79bd494d4678a6e72e92e313.tar.gz
php-waddiwasi-bd72d3c4acde3f5e79bd494d4678a6e72e92e313.tar.zst
php-waddiwasi-bd72d3c4acde3f5e79bd494d4678a6e72e92e313.zip
test: support action command
Diffstat (limited to 'tools/json2phpunit.php')
-rw-r--r--tools/json2phpunit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/json2phpunit.php b/tools/json2phpunit.php
index 648f6fd..f2078e4 100644
--- a/tools/json2phpunit.php
+++ b/tools/json2phpunit.php
@@ -217,6 +217,7 @@ function buildActionCommandTest(array $command): array
return [
'method' => 'runActionCommand',
'args' => [
+ 'module' => $command['module'] ?? null,
'action' => $command['action'],
],
];