File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Shipping/Test/Unit/Controller/Adminhtml/Order/Shipment Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ public function testExecuteLoadException()
179
179
*/
180
180
public function testExecuteSaveException ()
181
181
{
182
- $ logerMock = $ this ->createMock (\Psr \Log \LoggerInterface::class);
182
+ $ loggerMock = $ this ->createMock (\Psr \Log \LoggerInterface::class);
183
183
184
184
$ this ->shipmentLoaderMock ->expects ($ this ->once ())
185
185
->method ('load ' )
@@ -189,11 +189,11 @@ public function testExecuteSaveException()
189
189
->with ($ this ->shipmentMock , $ this ->requestMock )
190
190
->will ($ this ->returnValue (true ));
191
191
$ this ->shipmentMock ->expects ($ this ->once ())->method ('save ' )->will ($ this ->throwException (new \Exception ()));
192
- $ logerMock ->expects ($ this ->once ())->method ('critical ' );
192
+ $ loggerMock ->expects ($ this ->once ())->method ('critical ' );
193
193
$ this ->objectManagerMock ->expects ($ this ->once ())
194
194
->method ('get ' )
195
195
->with (\Psr \Log \LoggerInterface::class)
196
- ->will ($ this ->returnValue ($ logerMock ));
196
+ ->will ($ this ->returnValue ($ loggerMock ));
197
197
$ this ->responseMock ->expects ($ this ->once ())->method ('representJson ' );
198
198
199
199
$ this ->assertNull ($ this ->controller ->execute ());
You can’t perform that action at this time.
0 commit comments