Skip to content

Commit d4f8201

Browse files
committed
MAGETWO-65236: Expiration date of PHPSESSID cookie is not updated
1 parent 9d8e69b commit d4f8201

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/internal/Magento/Framework/Session/Test/Unit/_files/mock_ini_set.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@
1818
function ini_set($varName, $newValue)
1919
{
2020
global $mockPHPFunctions;
21+
echo "MOCK INI_SET CALL 1";
2122
if ($mockPHPFunctions) {
2223
SessionManagerTest::$isIniSetInvoked = true;
2324
SessionManagerTest::assertSame(SessionManagerTest::SESSION_USE_ONLY_COOKIES, $varName);
2425
SessionManagerTest::assertSame(SessionManagerTest::SESSION_USE_ONLY_COOKIES_ENABLE, $newValue);
26+
echo "MOCK INI_SET CALL 2";
2527
return true;
2628
}
2729
return call_user_func_array('\ini_set', func_get_args());

0 commit comments

Comments
 (0)