Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f560e16

Browse files
authored
bug #13282 [API] Revert changes of checked keys in cart and checkout responses to fix the build (GSadee)
This PR was merged into the 1.9 branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | 1.9 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | revert changes from #13244 | License | MIT <!-- - Bug fixes must be submitted against the 1.9 or 1.10 branch (the lowest possible) - Features and deprecations must be submitted against the master branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation: https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html --> Commits ------- caf9f0d [API] Revert changes of checked keys in cart and checkout responses to fix the build
2 parents 147a716 + caf9f0d commit f560e16

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Sylius/Behat/Context/Api/Shop/CartContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ public function iShouldBeInformedThatCartItemsAreNoLongerAvailable(): void
365365

366366
Assert::same($response->getStatusCode(), 404);
367367

368-
Assert::same($this->responseChecker->getResponseContent($response)['hydra:description'], 'Not Found');
368+
Assert::same($this->responseChecker->getResponseContent($response)['message'], 'Not Found');
369369
}
370370

371371
/**

src/Sylius/Behat/Context/Api/Shop/CheckoutContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ public function iShouldBeInformedThatCartIsNoLongerAvailable(): void
975975

976976
Assert::same($response->getStatusCode(), 404);
977977

978-
Assert::same($this->responseChecker->getResponseContent($response)['hydra:description'], 'Not Found');
978+
Assert::same($this->responseChecker->getResponseContent($response)['message'], 'Not Found');
979979
}
980980

981981
/**

0 commit comments

Comments
 (0)