Skip to content

Commit 5b7f939

Browse files
committed
Fix typos in comments
1 parent a144cb6 commit 5b7f939

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

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();

dev/tests/integration/testsuite/Magento/Catalog/Model/Product/TypeTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected function setUp()
2020
}
2121

2222
/**
23-
* @param sring|null $typeId
23+
* @param string|null $typeId
2424
* @param string $expectedClass
2525
* @dataProvider factoryDataProvider
2626
*/
@@ -52,7 +52,7 @@ public function factoryDataProvider()
5252
}
5353

5454
/**
55-
* @param sring|null $typeId
55+
* @param string|null $typeId
5656
* @dataProvider factoryReturnsSingletonDataProvider
5757
*/
5858
public function testFactoryReturnsSingleton($typeId)
@@ -82,7 +82,7 @@ public function factoryReturnsSingletonDataProvider()
8282
}
8383

8484
/**
85-
* @param sring|null $typeId
85+
* @param string|null $typeId
8686
* @param string $expectedClass
8787
* @dataProvider priceFactoryDataProvider
8888
*/

dev/tests/integration/testsuite/Magento/CatalogImportExport/_files/product_export_with_product_links_data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
require dirname(dirname(__DIR__)) . '/Catalog/_files/category.php';
88
/** Create fixture store */
99
require dirname(dirname(__DIR__)) . '/Store/_files/second_store.php';
10-
/** Create product with mulselect attribute */
10+
/** Create product with multiselect attribute */
1111
require dirname(dirname(__DIR__)) . '/Catalog/_files/products_with_multiselect_attribute.php';
1212

1313
$productModel = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(

dev/tests/integration/testsuite/Magento/CatalogWidget/Block/Product/ProductListTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function testCreateCollection()
6868
. '`value`:[`' . implode(',', $multiselectAttributeOptionIds) . '`]^]^]';
6969
$this->block->setData('conditions_encoded', $encodedConditions);
7070

71-
// Load products collection filtered using specified conditions and perform assesrions
71+
// Load products collection filtered using specified conditions and perform assertions
7272
$productCollection = $this->block->createCollection();
7373
$productCollection->load();
7474
$this->assertEquals(

dev/tests/integration/testsuite/Magento/Customer/Model/CustomerMetadataTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function testGetCustomAttributesMetadataWithCustomAttributes()
159159
);
160160

161161
// Verify the consistency of custom attribute metadata from two services
162-
// after getAttrbiuteCode was called
162+
// after getAttributeCode was called
163163
foreach ($customAttributesMetadata2 as $attribute) {
164164
$attribute->getAttributeCode();
165165
}

dev/tests/integration/testsuite/Magento/Framework/Data/Form/Element/FieldsetTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public function getSubFieldsetDataProvider()
246246
$fieldsetField = $textField;
247247
$fieldsetField[1] = 'fieldset';
248248
$advancedFieldsetFld = $fieldsetField;
249-
// set isAdvenced flag
249+
// set isAdvanced flag
250250
$advancedFieldsetFld[4] = true;
251251
$result = [[[$fieldsetField, $textField, $advancedFieldsetFld], 1]];
252252
return $result;

dev/tests/integration/testsuite/Magento/Integration/Model/ResourceModel/Oauth/TokenTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ public function deleteExpiredTokensDataProvider()
252252
}
253253

254254
/**
255-
* Make that only exired tokens were cleaned up
255+
* Make that only expired tokens were cleaned up
256256
*
257257
* @param array $expectedRemovedTokenNumbers
258258
* @param array $expectedPreservedTokenNumbers

dev/tests/integration/testsuite/Magento/Search/Model/SearchEngine/ConfigTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ protected function setUp()
1717
$xmlPath = __DIR__ . '/../../_files/search_engine.xml';
1818
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
1919

20-
// Clear out the clache
20+
// Clear out the cache
2121
$cacheManager = $objectManager->create(\Magento\Framework\App\Cache\Manager::class);
2222
/** @var \Magento\Framework\App\Cache\Manager $cacheManager */
2323
$cacheManager->clean($cacheManager->getAvailableTypes());

0 commit comments

Comments
 (0)