Skip to content

Commit 4fbd865

Browse files
authored
Fix variable name in test
1 parent 776b544 commit 4fbd865

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Multishipping/Test/Unit/Model/Checkout/Type/MultishippingTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ private function getOrderMock($orderAddressMock, $orderPaymentMock, $orderItemMo
931931
*/
932932
public function testCreateOrdersCountryNotPresentInAllowedListException(): void
933933
{
934-
$ExceptionMessage = 'Some addresses can\'t be used due to the configurations for specific countries.';
934+
$exceptionMessage = 'Some addresses can\'t be used due to the configurations for specific countries.';
935935

936936
$abstractMethod = $this->getMockBuilder(AbstractMethod::class)
937937
->disableOriginalConstructor()
@@ -964,7 +964,7 @@ public function testCreateOrdersCountryNotPresentInAllowedListException(): void
964964
->willReturn($paymentMock);
965965
$this->quoteMock->method('getAllShippingAddresses')
966966
->willReturn([$shippingAddressMock]);
967-
$this->expectExceptionMessage($ExceptionMessage);
967+
$this->expectExceptionMessage($exceptionMessage);
968968

969969
$this->model->createOrders();
970970
}

0 commit comments

Comments
 (0)