Skip to content

Commit 2513062

Browse files
Corrected return message from SequenceManager.php
1 parent 87a7a2c commit 2513062

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
@@ -629,7 +629,7 @@ public function testGetAccessTokenVerifierInvalid($verifier, $verifierFromToken)
629629
public function dataProviderForGetAccessTokenVerifierInvalidTest()
630630
{
631631
// Verifier is not a string
632-
return [[3, 3], ['wrong_length', 'wrong_length'], ['verifier', 'doesnt match']];
632+
return [[3, 3], ['wrong_length', 'wrong_length'], ['verifier', 'doesn\'t match']];
633633
}
634634

635635
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)