-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[6.x] Fix "Recursion detected" error with cart endpoints (#1025)
* Fix "Recursion detected" error with cart endpoints * wip * this should still be `data` * Ignore `.phpunit.cache` * we're not returning `cart` from delete endpoint anymore When you're deleting something, you shouldn't really get anything back. * Use the "local" cart, rather than fetching it from the cart driver
- Loading branch information
1 parent
5701081
commit 8099471
Showing
6 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ package-lock.json | |
.idea | ||
.antlers.json | ||
composer.lock | ||
.phpunit.cache | ||
|
||
tests/__fixtures__/users/*.yaml | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -674,7 +674,6 @@ | |
$response->assertJsonStructure([ | ||
'status', | ||
'message', | ||
'cart', | ||
]); | ||
|
||
$cart = $cart->fresh(); | ||
|