File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
ProductVideo/Test/Unit/Model/Plugin/Catalog/Product/Gallery
SalesRule/Test/Unit/Model/ResourceModel Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,6 @@ public function testBeforeExecute()
288
288
289
289
$ this ->subject ->beforeExecute (
290
290
$ this ->mediaGalleryCreateHandler ,
291
- 'Magento\Catalog\Api\Data\ProductInterface ' ,
292
291
$ this ->product
293
292
);
294
293
}
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ public function testLoad()
161
161
->getMockForAbstractClass ();
162
162
$ this ->entityManager ->expects ($ this ->once ())
163
163
->method ('load ' )
164
- ->with ($ abstractModel , $ ruleId, RuleInterface::class );
164
+ ->with ($ abstractModel , $ ruleId );
165
165
$ result = $ this ->model ->load ($ abstractModel , $ ruleId );
166
166
$ this ->assertSame ($ this ->model , $ result );
167
167
}
@@ -170,15 +170,15 @@ public function testSave()
170
170
{
171
171
$ this ->entityManager ->expects ($ this ->once ())
172
172
->method ('save ' )
173
- ->with ($ this ->rule , RuleInterface::class );
173
+ ->with ($ this ->rule );
174
174
$ this ->assertEquals ($ this ->model ->save ($ this ->rule ), $ this ->model );
175
175
}
176
176
177
177
public function testDelete ()
178
178
{
179
179
$ this ->entityManager ->expects ($ this ->once ())
180
180
->method ('delete ' )
181
- ->with ($ this ->rule , RuleInterface::class );
181
+ ->with ($ this ->rule );
182
182
$ this ->assertEquals ($ this ->model ->delete ($ this ->rule ), $ this ->model );
183
183
}
184
184
You can’t perform that action at this time.
0 commit comments