@@ -117,11 +117,11 @@ public function testAfterChangeParent()
117117 $ storeIds = [0 , 1 ];
118118
119119 $ this ->storeManagerMock ->expects ($ this ->exactly (2 ))->method ('hasSingleStore ' )->willReturn (false );
120- $ this ->categoryMock ->expects ($ this ->exactly (4 ))->method ('getStoreId ' )
121- ->willReturnOnConsecutiveCalls (0 , 0 , 1 , 0 );
120+ $ this ->categoryMock ->expects ($ this ->exactly (6 ))->method ('getStoreId ' )
121+ ->willReturnOnConsecutiveCalls (0 , 0 , 1 , 0 , 1 , 0 );
122122 $ this ->categoryMock ->expects ($ this ->once ())->method ('getStoreIds ' )->willReturn ($ storeIds );
123- $ this ->categoryMock ->expects ($ this ->exactly (4 ))->method ('setStoreId ' )
124- ->willReturnOnConsecutiveCalls (0 , 0 , 1 , 0 );
123+ $ this ->categoryMock ->expects ($ this ->exactly (5 ))->method ('setStoreId ' )
124+ ->willReturnOnConsecutiveCalls (0 , 0 , 1 , 0 , 1 );
125125
126126 $ this ->categoryMock ->expects ($ this ->exactly (2 ))->method ('getData ' )
127127 ->willReturnOnConsecutiveCalls ('1/3/5 ' , '1/3/5 ' );
@@ -146,9 +146,9 @@ public function testAfterChangeParent()
146146 $ this ->categoryMock ->expects ($ this ->exactly (2 ))->method ('setUrlKey ' )->with ('url-key ' )
147147 ->willReturnSelf ();
148148
149- $ this ->categoryUrlPathGeneratorMock ->expects ($ this ->exactly (3 ))->method ('getUrlPath ' )
149+ $ this ->categoryUrlPathGeneratorMock ->expects ($ this ->exactly (4 ))->method ('getUrlPath ' )
150150 ->with ($ this ->categoryMock )->willReturn ($ urlPath );
151- $ this ->categoryMock ->expects ($ this ->exactly (3 ))->method ('setUrlPath ' )->with ($ urlPath );
151+ $ this ->categoryMock ->expects ($ this ->exactly (4 ))->method ('setUrlPath ' )->with ($ urlPath );
152152
153153 $ this ->assertSame (
154154 $ this ->subjectMock ,
0 commit comments