Skip to content

Commit 6951cf5

Browse files
committed
set unique session cache location for each phpunit run
1 parent 4bf3d45 commit 6951cf5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/phpunit-bootstrap.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
require_once __DIR__ . "/../resources/lib/UnityRedis.php";
1616
require_once __DIR__ . "/../resources/lib/UnityGithub.php";
1717

18+
session_save_path(exec("mktemp -d"));
19+
error_log(session_save_path());
20+
1821
global $HTTP_HEADER_TEST_INPUTS;
1922
$HTTP_HEADER_TEST_INPUTS = [
2023
'',

0 commit comments

Comments
 (0)