File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Review/Test/Unit/Controller/Adminhtml/Product Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ protected function setUp(): void
7474
7575 public function testExecute (): void
7676 {
77- $ this ->requestMock ->expects ($ this -> atLeastOnce ())
77+ $ this ->requestMock ->expects (self :: atLeastOnce ())
7878 ->method ('getParam ' )
7979 ->willReturnMap (
8080 [
@@ -84,19 +84,19 @@ public function testExecute(): void
8484 );
8585
8686 $ collectionMock = $ this ->createMock (ReviewCollection::class);
87- $ this ->collectionFactoryMock ->expects ($ this -> once ())
87+ $ this ->collectionFactoryMock ->expects (self :: once ())
8888 ->method ('create ' )
8989 ->willReturn ($ collectionMock );
9090 $ resource = $ this ->createMock (ReviewResourceModel::class);
9191 $ collectionMock ->method ('getResource ' )
9292 ->willReturn ($ resource );
9393 $ resource ->method ('getIdFieldName ' )
9494 ->willReturn ('id ' );
95- $ collectionMock ->expects ($ this -> once ())
95+ $ collectionMock ->expects (self :: once ())
9696 ->method ('addFieldToFilter ' )
9797 ->with ('main_table.id ' , [10 , 20 ])
9898 ->willReturnSelf ();
99- $ collectionMock ->expects ($ this -> once ())
99+ $ collectionMock ->expects (self :: once ())
100100 ->method ('addStoreData ' )
101101 ->willReturnSelf ();
102102
You can’t perform that action at this time.
0 commit comments