Skip to content

Commit becbf6a

Browse files
committed
Fix typo in test method's name and test result
1 parent 48d9e3f commit becbf6a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Onepage/Shipping/Method.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function selectShippingMethod(array $method)
9191
* @param array $method
9292
* @return bool
9393
*/
94-
public function isShippingMethodAvaiable(array $method)
94+
public function isShippingMethodAvailable(array $method)
9595
{
9696
$this->waitForShippingRates();
9797
$selector = sprintf($this->shippingMethod, $method['shipping_method'], $method['shipping_service']);

dev/tests/functional/tests/app/Magento/Shipping/Test/Constraint/AssertCityBasedShippingRateChanged.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ public function processAssert(CheckoutOnepage $checkoutOnepage, $shippingMethod,
3030
'Shipping rate has not been changed.'
3131
);
3232
}
33-
$shippingAvaialability = $isShippingAvailable ? 'avaiable' : 'unavailable';
33+
$shippingAvaialability = $isShippingAvailable ? 'available' : 'unavailable';
3434
\PHPUnit_Framework_Assert::assertEquals(
3535
$isShippingAvailable,
36-
$checkoutOnepage->getShippingMethodBlock()->isShippingMethodAvaiable($shippingMethod),
36+
$checkoutOnepage->getShippingMethodBlock()->isShippingMethodAvailable($shippingMethod),
3737
"Shipping rates for {$shippingMethod['shipping_service']} should be $shippingAvaialability."
3838
);
3939
}

0 commit comments

Comments
 (0)