Skip to content

Commit 6813b8e

Browse files
hariharanbrowserstackfrancisf
authored andcommitted
Fix Directory Separator
1 parent 168bce1 commit 6813b8e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

triggerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
// Check if an argument is provided for config_file
33
$testFileArg = $argv[1] ?? 'Test.php';
44
$testFile = "tests" . DIRECTORY_SEPARATOR . $testFileArg;
5+
$configFile = "config" . DIRECTORY_SEPARATOR . "test.conf.json";
56
putenv("TEST_FILE=$testFile");
6-
putenv('CONFIG_FILE=config/test.conf.json');
7+
putenv("CONFIG_FILE=$configFile");
78
// Execute the PHP script with the dynamically retrieved value
89
require 'lib/runner.php';
910

0 commit comments

Comments
 (0)