Skip to content

Commit 45f94fe

Browse files
author
Stanislav Idolov
authored
ENGCOM-2280: Corrected return message from ProductRuleTest.php #16721
2 parents 410dcce + f3eb944 commit 45f94fe

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

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