Skip to content

Commit 78dec58

Browse files
committed
Fix typo in variable name
1 parent b1d5548 commit 78dec58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Shipping/Test/Unit/Controller/Adminhtml/Order/Shipment/CreateLabelTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public function testExecuteLoadException()
179179
*/
180180
public function testExecuteSaveException()
181181
{
182-
$logerMock = $this->createMock(\Psr\Log\LoggerInterface::class);
182+
$loggerMock = $this->createMock(\Psr\Log\LoggerInterface::class);
183183

184184
$this->shipmentLoaderMock->expects($this->once())
185185
->method('load')
@@ -189,11 +189,11 @@ public function testExecuteSaveException()
189189
->with($this->shipmentMock, $this->requestMock)
190190
->will($this->returnValue(true));
191191
$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');
193193
$this->objectManagerMock->expects($this->once())
194194
->method('get')
195195
->with(\Psr\Log\LoggerInterface::class)
196-
->will($this->returnValue($logerMock));
196+
->will($this->returnValue($loggerMock));
197197
$this->responseMock->expects($this->once())->method('representJson');
198198

199199
$this->assertNull($this->controller->execute());

0 commit comments

Comments
 (0)