Skip to content

Commit 0379ead

Browse files
🔃 [EngCom] Public Pull Requests - 2.3-develop
Accepted Public Pull Requests: - #13300: Typo cleanup for dev (by @akiojalehto)
2 parents 85b9cf0 + b578586 commit 0379ead

File tree

47 files changed

+79
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+79
-79
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ProductViewTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ private function assertEavAttributes($product, $actualResponse)
665665
$expectedAttribute = $product->getCustomAttribute($attributeCode);
666666

667667
$assertionMap[] = [
668-
'response_field' => $this->eavAttributesToGrahQlSchemaFieldTranslator($attributeCode),
668+
'response_field' => $this->eavAttributesToGraphQlSchemaFieldTranslator($attributeCode),
669669
'expected_value' => $expectedAttribute ? $expectedAttribute->getValue() : null
670670
];
671671
}
@@ -677,7 +677,7 @@ private function assertEavAttributes($product, $actualResponse)
677677
* @param string $eavAttributeCode
678678
* @return string
679679
*/
680-
private function eavAttributesToGrahQlSchemaFieldTranslator(string $eavAttributeCode)
680+
private function eavAttributesToGraphQlSchemaFieldTranslator(string $eavAttributeCode)
681681
{
682682
switch ($eavAttributeCode) {
683683
case 'news_from_date':

dev/tests/api-functional/testsuite/Magento/GraphQl/TestModule/GraphQlQueryTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ public function testQueryTestModuleReturnsResults()
2727
}
2828
QUERY;
2929

30-
$reponse = $this->graphQlQuery($query);
31-
$this->assertArrayHasKey('testItem', $reponse);
32-
$testItem = $reponse['testItem'];
30+
$response = $this->graphQlQuery($query);
31+
$this->assertArrayHasKey('testItem', $response);
32+
$testItem = $response['testItem'];
3333
$this->assertArrayHasKey('item_id', $testItem);
3434
$this->assertArrayHasKey('name', $testItem);
3535
$this->assertEquals(1, $testItem['item_id']);
@@ -51,9 +51,9 @@ public function testQueryTestModuleExtensionAttribute()
5151
}
5252
QUERY;
5353

54-
$reponse = $this->graphQlQuery($query);
55-
$this->assertArrayHasKey('testItem', $reponse);
56-
$testItem = $reponse['testItem'];
54+
$response = $this->graphQlQuery($query);
55+
$this->assertArrayHasKey('testItem', $response);
56+
$testItem = $response['testItem'];
5757
$this->assertArrayHasKey('integer_list', $testItem);
5858
$this->assertEquals([3, 4, 5], $testItem['integer_list']);
5959
}

dev/tests/functional/lib/Magento/Mtf/Client/Element/SimplifiedselectElement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class SimplifiedselectElement extends SelectElement
2121
protected $optionGroupValue = ".//*[@data-title='%s' or contains(normalize-space(.), %s)]";
2222

2323
/**
24-
* Select value in ropdown which has option groups.
24+
* Select value in dropdown which has option groups.
2525
*
2626
* @param string $value
2727
* @return void

dev/tests/functional/lib/Magento/Mtf/Client/Element/SwitcherElement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class SwitcherElement extends SimpleElement
2222
protected $parentContainer = 'parent::div[@data-role="switcher"]';
2323

2424
/**
25-
* XPath selector for label text on swticher element.
25+
* XPath selector for label text on switcher element.
2626
*
2727
* @var string
2828
*/

dev/tests/functional/tests/app/Magento/Bundle/Test/TestCase/CancelPartiallyInvoicedOrderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* 3. Open the created order.
2121
* 4. Create partial invoice
2222
* 4. Do cancel Order.
23-
* 5. Perform all assetions.
23+
* 5. Perform all assertions.
2424
*
2525
* @group Order_Management
2626
* @ZephyrId MAGETWO-67787

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Product/Edit/Section/Attributes/Search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Search extends SuggestElement
3737
protected $actionToggle = '.action-toggle';
3838

3939
/**
40-
* Saerch result dropdown.
40+
* Search result dropdown.
4141
*
4242
* @var string
4343
*/

dev/tests/functional/tests/app/Magento/Catalog/Test/Constraint/AssertProductAttributeIsHtmlAllowed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class AssertProductAttributeIsHtmlAllowed extends AbstractConstraint
2323

2424
/**
2525
* Check whether html tags are using in attribute value.
26-
* Checked tag structure <b><i>atttribute_default_value</p></i></b>
26+
* Checked tag structure <b><i>attribute_default_value</p></i></b>
2727
*
2828
* @param InjectableFixture $product
2929
* @param CatalogProductAttribute $attribute

dev/tests/functional/tests/app/Magento/Catalog/Test/Fixture/Product/WebsiteIds.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class WebsiteIds extends DataSource
3737
private $fixtureFactory;
3838

3939
/**
40-
* Rought fixture field data.
40+
* Rough fixture field data.
4141
*
4242
* @var array
4343
*/

dev/tests/functional/tests/app/Magento/Catalog/Test/Handler/CatalogProductSimple/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ protected function preparePrice()
345345
}
346346

347347
/**
348-
* Preparation wheather product 'Is Virtual'.
348+
* Preparation whether product 'Is Virtual'.
349349
*
350350
* @return void
351351
*/

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Product/ReSavingProductAfterInitialSaveTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* 1. Login to backend.
2121
* 2. Create a product with invalid from and To dates
22-
* 3. Save the product which generates an error messsage
22+
* 3. Save the product which generates an error message
2323
* 4. Modify the dates to valid values
2424
* 5. Save the product again
2525
* 6. Product is saved successfully
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* Assert search has no results after disabling configurable children.
2121
*/
22-
class AssertConfigurableWithDisabledOtpionCatalogSearchNoResult extends AbstractConstraint
22+
class AssertConfigurableWithDisabledOptionCatalogSearchNoResult extends AbstractConstraint
2323
{
2424
/**
2525
* Assert search has no results and product list in absent after disabling configurable children.

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/Checkout/Test/Constraint/AssertBillingAddressSameAsShippingCheckbox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function processAssert(CheckoutOnepage $checkoutOnepage, $billingCheckbox
3737
}
3838

3939
/**
40-
* Returns a string representation of successfull assertion.
40+
* Returns a string representation of successful assertion.
4141
*
4242
* @return string
4343
*/

dev/tests/functional/tests/app/Magento/Checkout/Test/TestStep/RemoveProductsFromTheCartStep.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class RemoveProductsFromTheCartStep implements TestStepInterface
3030
private $cartPage;
3131

3232
/**
33-
* Quantity of items that should be removed from shoping cart.
33+
* Quantity of items that should be removed from shopping cart.
3434
*
3535
* @var int|null
3636
*/

dev/tests/functional/tests/app/Magento/Config/Test/TestCase/VerifyAdminAccountSharingEntityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Steps:
1414
* 1. Log in to Admin.
1515
* 2. Go to Stores>Configuration>Advanced>admin>Security.
16-
* 3. * 7. Verify admin Acoount Sharing option availability.
16+
* 3. * 7. Verify admin Account Sharing option availability.
1717
*
1818
* @group Config_(PS)
1919
* @ZephyrId MAGETWO-47822

dev/tests/functional/tests/app/Magento/ConfigurableProduct/Test/Constraint/AssertProductTierPriceOnProductPage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Magento\ConfigurableProduct\Test\Block\Product\View\ConfigurableOptions;
1111

1212
/**
13-
* Open created configurble product on frontend and choose variation with tier price
13+
* Open created configurable product on frontend and choose variation with tier price
1414
*/
1515
class AssertProductTierPriceOnProductPage extends AssertProductPage
1616
{

dev/tests/functional/tests/app/Magento/Customer/Test/Fixture/Customer/WebsiteId.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class WebsiteId extends DataSource
3838
private $fixtureFactory;
3939

4040
/**
41-
* Rought fixture field data.
41+
* Rough fixture field data.
4242
*
4343
* @var array
4444
*/

dev/tests/functional/tests/app/Magento/Customer/Test/TestCase/AbstractApplyVatIdTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function __prepare(FixtureFactory $fixtureFactory)
7676
}
7777

7878
/**
79-
* Prepare VAT ID confguration.
79+
* Prepare VAT ID configuration.
8080
*
8181
* @param ConfigData $vatConfig
8282
* @param string $customerGroup

dev/tests/functional/tests/app/Magento/Integration/Test/TestCase/ReAuthorizeTokensIntegrationEntityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class ReAuthorizeTokensIntegrationEntityTest extends Injectable
5151
*
5252
* @param FixtureFactory $fixtureFactory
5353
* @param IntegrationIndex $integrationIndex
54-
* @retun void
54+
* @return void
5555
*/
5656
public function __inject(IntegrationIndex $integrationIndex, FixtureFactory $fixtureFactory)
5757
{

dev/tests/functional/tests/app/Magento/Sales/Test/TestCase/CancelCreatedOrderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* 2. Sales > Orders.
2424
* 3. Open the created order.
2525
* 4. Do cancel Order.
26-
* 5. Perform all assetions.
26+
* 5. Perform all assertions.
2727
*
2828
* @group Order_Management
2929
* @ZephyrId MAGETWO-28191

dev/tests/functional/tests/app/Magento/Sales/Test/TestCase/CreateCustomOrderStatusEntityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class CreateCustomOrderStatusEntityTest extends Injectable
3030
/* end tags */
3131

3232
/**
33-
* Order staus page.
33+
* Order status page.
3434
*
3535
* @var OrderStatusIndex
3636
*/

dev/tests/functional/tests/app/Magento/SalesRule/Test/Constraint/AssertCartPriceRuleSuccessDeleteMessage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Magento\Mtf\Constraint\AbstractConstraint;
1111

1212
/**
13-
* Assert sales rule delte message.
13+
* Assert sales rule delete message.
1414
*/
1515
class AssertCartPriceRuleSuccessDeleteMessage extends AbstractConstraint
1616
{

dev/tests/functional/tests/app/Magento/Security/Test/TestCase/LockAdminUserWhenEditingIntegrationTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ public function __inject(
8484
/**
8585
* Run Lock user when creating new integration test.
8686
*
87-
* @param Integration $initintegration
87+
* @param Integration $initIntegration
8888
* @param Integration $integration
8989
* @param int $attempts
9090
* @param User $customAdmin
9191
* @param string $configData
9292
* @return void
9393
*/
9494
public function test(
95-
Integration $initintegration,
95+
Integration $initIntegration,
9696
Integration $integration,
9797
$attempts,
9898
User $customAdmin,
@@ -106,15 +106,15 @@ public function test(
106106
['configData' => $this->configData]
107107
)->run();
108108
$customAdmin->persist();
109-
$initintegration->persist();
109+
$initIntegration->persist();
110110

111111
// login to backend with new user
112112
$this->adminAuthLogin->open();
113113
$this->adminAuthLogin->getLoginBlock()->fill($customAdmin);
114114
$this->adminAuthLogin->getLoginBlock()->submit();
115115

116116
// Steps
117-
$filter = ['name' => $initintegration->getName()];
117+
$filter = ['name' => $initIntegration->getName()];
118118
$this->integrationIndexPage->open();
119119
$this->integrationIndexPage->getIntegrationGrid()->searchAndOpen($filter);
120120
for ($i = 0; $i < $attempts; $i++) {

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

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

dev/tests/functional/tests/app/Magento/Shipping/Test/TestStep/FillShippingAddressesStep.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
use Magento\Shipping\Test\Constraint\AssertCityBasedShippingRateChanged;
1414

1515
/**
16-
* Fill shipping addresses and assert rates relouding.
16+
* Fill shipping addresses and assert rates reloading.
1717
*/
1818
class FillShippingAddressesStep implements TestStepInterface
1919
{

dev/tests/functional/tests/app/Magento/Theme/Test/Block/Html/Footer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function selectStoreGroup(Store $store)
120120
}
121121

122122
/**
123-
* Check if correspondent "Store" is present in "Store" swither or not.
123+
* Check if correspondent "Store" is present in "Store" switcher or not.
124124
*
125125
* @param Store $store
126126
* @return bool

dev/tests/functional/tests/app/Magento/Ui/Test/Block/Adminhtml/DataGrid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public function selectMassAction($massActionSelection)
332332
}
333333

334334
/**
335-
* Peform action using the dropdown above the grid.
335+
* Perform action using the dropdown above the grid.
336336
*
337337
* @param array|string $action [array -> key = value from first select; value => value from subselect]
338338
* @return void

dev/tests/functional/tests/app/Magento/Ui/Test/Block/Adminhtml/Modal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function setAlertText($text)
150150
}
151151

152152
/**
153-
* Wait until modal window will disapper.
153+
* Wait until modal window will disappear.
154154
*
155155
* @return void
156156
*/

dev/tests/functional/tests/app/Magento/Ui/Test/TestCase/GridFullTextSearchTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* Steps:
2020
* 1. Navigate to backend.
2121
* 2. Go to grid page
22-
* 3. Perfrom full text search
22+
* 3. Perform full text search
2323
* 5. Perform Asserts
2424
*
2525
* @group Ui

dev/tests/functional/tests/app/Magento/UrlRewrite/Test/Block/Adminhtml/Catalog/Edit/UrlRewriteForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protected function prepareData(FixtureInterface $fixture)
3939
*
4040
* @param array $data
4141
* @param SimpleElement $context
42-
* @retun void
42+
* @return void
4343
*/
4444
protected function fillFields(array $data, SimpleElement $context)
4545
{

dev/tests/functional/tests/app/Magento/Widget/Test/Constraint/AssertWidgetCmsPageLink.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use Magento\Mtf\Constraint\AbstractConstraint;
1313

1414
/**
15-
* Check that created widget displayed on frontent on Home page and on Advanced Search and
15+
* Check that created widget displayed on frontend on Home page and on Advanced Search and
1616
* after click on widget link on frontend system redirects you to cms page.
1717
*/
1818
class AssertWidgetCmsPageLink extends AbstractConstraint

dev/tests/integration/framework/Magento/TestFramework/Db/AbstractDb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ abstract public function cleanup();
8484
abstract protected function getSetupDbDumpFilename();
8585

8686
/**
87-
* Is dump esxists
87+
* Is dump exists
8888
*
8989
* @return bool
9090
*/

dev/tests/integration/framework/Magento/TestFramework/Db/Mysql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ protected function getSetupDbDumpFilename()
8787
}
8888

8989
/**
90-
* Is dump esxists
90+
* Is dump exists
9191
*
9292
* @return bool
9393
*/

dev/tests/integration/framework/Magento/TestFramework/TestCase/AbstractConfigFiles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function setUp()
4747
\Magento\Framework\App\Arguments\FileResolver\Primary::class
4848
)->disableOriginalConstructor()->getMock();
4949

50-
/* Enable Validation regardles of MAGE_MODE */
50+
/* Enable Validation regardless of MAGE_MODE */
5151
$validateStateMock = $this->getMockBuilder(
5252
\Magento\Framework\Config\ValidationStateInterface::class
5353
)->disableOriginalConstructor()->getMock();

0 commit comments

Comments
 (0)