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

0 commit comments

Comments
 (0)