File tree 1 file changed +1
-7
lines changed
lib/internal/Magento/Framework/Mview/Test/Unit/View
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -220,8 +220,6 @@ public function testCreate()
220
220
$ this ->viewMock ->expects ($ this ->exactly (3 ))
221
221
->method ('getId ' )
222
222
->willReturn ('this_id ' );
223
- $ this ->viewMock ->expects ($ this ->never ())
224
- ->method ('getSubscriptions ' );
225
223
226
224
$ this ->viewCollectionMock ->expects ($ this ->exactly (1 ))
227
225
->method ('getViewsByStateMode ' )
@@ -290,18 +288,14 @@ public function testRemove()
290
288
$ otherViewMock ->expects ($ this ->exactly (1 ))
291
289
->method ('getId ' )
292
290
->willReturn ('other_id ' );
293
- $ otherViewMock ->expects ($ this ->exactly (1 ))
294
- ->method ('getSubscriptions ' )
295
- ->willReturn ([['name ' => $ this ->tableName ], ['name ' => 'otherTableName ' ]]);
291
+
296
292
$ otherViewMock ->expects ($ this ->exactly (3 ))
297
293
->method ('getChangelog ' )
298
294
->willReturn ($ otherChangelogMock );
299
295
300
296
$ this ->viewMock ->expects ($ this ->exactly (3 ))
301
297
->method ('getId ' )
302
298
->willReturn ('this_id ' );
303
- $ this ->viewMock ->expects ($ this ->never ())
304
- ->method ('getSubscriptions ' );
305
299
306
300
$ this ->viewCollectionMock ->expects ($ this ->exactly (1 ))
307
301
->method ('getViewsByStateMode ' )
You can’t perform that action at this time.
0 commit comments