@@ -1361,7 +1361,6 @@ private function reInitModel()
1361
1361
$ this ->prepareDateTimeFactory ();
1362
1362
$ this ->sessionManager = $ this ->getMockBuilder (\Magento \Framework \Session \SessionManagerInterface::class)
1363
1363
->disableOriginalConstructor ()
1364
- ->setMethods (['destroy ' , 'start ' , 'writeClose ' ])
1365
1364
->getMockForAbstractClass ();
1366
1365
$ this ->visitorCollectionFactory = $ this ->getMockBuilder (
1367
1366
\Magento \Customer \Model \ResourceModel \Visitor \CollectionFactory::class
@@ -1494,8 +1493,6 @@ public function testChangePassword()
1494
1493
->method ('save ' )
1495
1494
->with ($ customer );
1496
1495
1497
- $ this ->sessionManager ->expects ($ this ->atLeastOnce ())->method ('start ' );
1498
- $ this ->sessionManager ->expects ($ this ->atLeastOnce ())->method ('writeClose ' );
1499
1496
$ this ->sessionManager ->expects ($ this ->atLeastOnce ())->method ('getSessionId ' );
1500
1497
1501
1498
$ visitor = $ this ->getMockBuilder (\Magento \Customer \Model \Visitor::class)
@@ -1551,8 +1548,6 @@ function ($string) {
1551
1548
$ this ->customerSecure ->expects ($ this ->any ())->method ('setPasswordHash ' )->willReturn (null );
1552
1549
1553
1550
$ this ->sessionManager ->expects ($ this ->atLeastOnce ())->method ('destroy ' );
1554
- $ this ->sessionManager ->expects ($ this ->atLeastOnce ())->method ('start ' );
1555
- $ this ->sessionManager ->expects ($ this ->atLeastOnce ())->method ('writeClose ' );
1556
1551
$ this ->sessionManager ->expects ($ this ->atLeastOnce ())->method ('getSessionId ' );
1557
1552
$ visitor = $ this ->getMockBuilder (\Magento \Customer \Model \Visitor::class)
1558
1553
->disableOriginalConstructor ()
0 commit comments