We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02300f9 commit 7a2a75bCopy full SHA for 7a2a75b
1 file changed
src/Context/FeatureContext.php
@@ -462,6 +462,11 @@ private static function get_process_env_variables(): array {
462
'TEST_RUN_DIR' => self::$behat_run_dir,
463
];
464
465
+ if ( Utils\is_windows() ) {
466
+ $env['TMP'] = getenv( 'TMP' ) ?: sys_get_temp_dir();
467
+ $env['TEMP'] = getenv( 'TEMP' ) ?: sys_get_temp_dir();
468
+ }
469
+
470
$env = array_merge( $_ENV, $env );
471
472
if ( self::running_with_code_coverage() ) {
0 commit comments