Skip to content

Commit 01c9a4f

Browse files
author
Stanislav Idolov
authored
ENGCOM-2592: [Forwardport] Corrected return message from ProductRuleTest.php #16853
2 parents 42a6316 + f43dbd2 commit 01c9a4f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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()

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)