File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
app/code/Magento/Ui/Test/Unit/Component Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ public function testPrepare()
153
153
false ,
154
154
true ,
155
155
true ,
156
- ['setLimit ' ]
156
+ ['setPageSize ' , ' setCurPage ' ]
157
157
);
158
158
159
159
$ this ->renderContextMock ->expects ($ this ->any ())->method ('getStorage ' )->willReturn ($ storageMock );
@@ -173,8 +173,12 @@ public function testPrepare()
173
173
);
174
174
175
175
$ dataCollectionMock ->expects ($ this ->any ())
176
- ->method ('setLimit ' )
177
- ->with ($ paramsPage , $ paramsSize )
176
+ ->method ('setPageSize ' )
177
+ ->with ($ paramsSize )
178
+ ->willReturnSelf ();
179
+ $ dataCollectionMock ->expects ($ this ->any ())
180
+ ->method ('setCurPage ' )
181
+ ->with ($ paramsPage )
178
182
->willReturnSelf ();
179
183
180
184
$ this ->assertNull ($ this ->view ->prepare ());
You can’t perform that action at this time.
0 commit comments