@@ -1361,7 +1361,6 @@ private function reInitModel()
13611361 $ this ->prepareDateTimeFactory ();
13621362 $ this ->sessionManager = $ this ->getMockBuilder (\Magento \Framework \Session \SessionManagerInterface::class)
13631363 ->disableOriginalConstructor ()
1364- ->setMethods (['destroy ' , 'start ' , 'writeClose ' ])
13651364 ->getMockForAbstractClass ();
13661365 $ this ->visitorCollectionFactory = $ this ->getMockBuilder (
13671366 \Magento \Customer \Model \ResourceModel \Visitor \CollectionFactory::class
@@ -1494,8 +1493,6 @@ public function testChangePassword()
14941493 ->method ('save ' )
14951494 ->with ($ customer );
14961495
1497- $ this ->sessionManager ->expects ($ this ->atLeastOnce ())->method ('start ' );
1498- $ this ->sessionManager ->expects ($ this ->atLeastOnce ())->method ('writeClose ' );
14991496 $ this ->sessionManager ->expects ($ this ->atLeastOnce ())->method ('getSessionId ' );
15001497
15011498 $ visitor = $ this ->getMockBuilder (\Magento \Customer \Model \Visitor::class)
@@ -1551,8 +1548,6 @@ function ($string) {
15511548 $ this ->customerSecure ->expects ($ this ->any ())->method ('setPasswordHash ' )->willReturn (null );
15521549
15531550 $ this ->sessionManager ->expects ($ this ->atLeastOnce ())->method ('destroy ' );
1554- $ this ->sessionManager ->expects ($ this ->atLeastOnce ())->method ('start ' );
1555- $ this ->sessionManager ->expects ($ this ->atLeastOnce ())->method ('writeClose ' );
15561551 $ this ->sessionManager ->expects ($ this ->atLeastOnce ())->method ('getSessionId ' );
15571552 $ visitor = $ this ->getMockBuilder (\Magento \Customer \Model \Visitor::class)
15581553 ->disableOriginalConstructor ()
0 commit comments