Skip to content

Commit c1f8162

Browse files
Corrected return message from SequenceManager.php
1 parent d1e766f commit c1f8162

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/code/Magento/Integration/Test/Unit/Oauth/OauthTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ public function testGetAccessTokenVerifierInvalid($verifier, $verifierFromToken)
607607
public function dataProviderForGetAccessTokenVerifierInvalidTest()
608608
{
609609
// Verifier is not a string
610-
return [[3, 3], ['wrong_length', 'wrong_length'], ['verifier', 'doesnt match']];
610+
return [[3, 3], ['wrong_length', 'wrong_length'], ['verifier', 'doesn\'t match']];
611611
}
612612

613613
public function testGetAccessToken()

dev/tests/integration/testsuite/Magento/CatalogRule/Model/Indexer/ProductRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function testReindexWithProductNotVisibleIndividually()
6767
$this->assertEquals(
6868
7.5,
6969
$this->resourceRule->getRulePrice(new \DateTime(), 1, 1, $product->getId()),
70-
"Catalog price rule doesn't apply to product with visibility value \"Not Visibility Individually\""
70+
"Catalog price rule doesn't ap product with visibility value \"Not Visibility Individually\""
7171
);
7272
}
7373
}

lib/internal/Magento/Framework/EntityManager/Sequence/SequenceManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function force($entityType, $identifier)
6868

6969
if (!isset($sequenceInfo['sequenceTable'])) {
7070
throw new \Exception(
71-
'TODO: use correct Exception class' . PHP_EOL . ' Sequence table doesnt exists'
71+
'TODO: use correct Exception class' . PHP_EOL . ' Sequence table doesn\'t exists'
7272
);
7373
}
7474

@@ -101,7 +101,7 @@ public function delete($entityType, $identifier)
101101
$metadata = $this->metadataPool->getMetadata($entityType);
102102
$sequenceInfo = $this->sequenceRegistry->retrieve($entityType);
103103
if (!isset($sequenceInfo['sequenceTable'])) {
104-
throw new \Exception('TODO: use correct Exception class' . PHP_EOL . ' Sequence table doesnt exists');
104+
throw new \Exception('TODO: use correct Exception class' . PHP_EOL . ' Sequence table doesn\'t exists');
105105
}
106106
try {
107107
$connection = $this->appResource->getConnectionByName($metadata->getEntityConnectionName());

0 commit comments

Comments
 (0)