File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
lib/internal/Magento/Framework/Session/Test/Unit Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,9 @@ class SessionManagerTest extends \PHPUnit_Framework_TestCase
48
48
49
49
protected function setUp ()
50
50
{
51
- global $ mockPHPFunctions ;
52
- $ mockPHPFunctions = true ;
53
51
require_once __DIR__ . '/_files/mock_ini_set.php ' ;
54
52
require_once __DIR__ . '/_files/mock_session_regenerate_id.php ' ;
55
53
56
- $ mockPHPFunctions = true ;
57
54
$ this ->mockSessionConfig = $ this ->getMockBuilder (\Magento \Framework \Session \Config \ConfigInterface::class)
58
55
->disableOriginalConstructor ()
59
56
->getMock ();
@@ -78,6 +75,7 @@ protected function setUp()
78
75
public function testSessionManagerConstructor ()
79
76
{
80
77
global $ mockPHPFunctions ;
78
+ $ mockPHPFunctions = true ;
81
79
self ::$ isIniSetInvoked = false ;
82
80
$ this ->objectManager ->getObject (\Magento \Framework \Session \SessionManager::class);
83
81
$ this ->assertTrue (SessionManagerTest::$ isIniSetInvoked );
You can’t perform that action at this time.
0 commit comments