We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 168bce1 commit 6813b8eCopy full SHA for 6813b8e
triggerTest.php
@@ -2,8 +2,9 @@
2
// Check if an argument is provided for config_file
3
$testFileArg = $argv[1] ?? 'Test.php';
4
$testFile = "tests" . DIRECTORY_SEPARATOR . $testFileArg;
5
+$configFile = "config" . DIRECTORY_SEPARATOR . "test.conf.json";
6
putenv("TEST_FILE=$testFile");
-putenv('CONFIG_FILE=config/test.conf.json');
7
+putenv("CONFIG_FILE=$configFile");
8
// Execute the PHP script with the dynamically retrieved value
9
require 'lib/runner.php';
10
0 commit comments