Skip to content

Commit 5a61462

Browse files
committed
Fix MongoDB test
1 parent 718c5aa commit 5a61462

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Fixtures/TestBundle/Document/CustomActionDummy.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
* @ApiResource(itemOperations={
2222
* "get",
2323
* "get_custom"={"method"="GET", "path"="custom_action_collection_dummies/{id}"},
24-
* "custom_normalization"={"route_name"="custom_normalization"},
25-
* "short_custom_normalization",
24+
* "custom_normalization"={"method"="GET", "route_name"="custom_normalization"},
25+
* "short_custom_normalization"={"method"="GET", "route_name"="short_custom_normalization"},
2626
* },
2727
* collectionOperations={
2828
* "get",
2929
* "get_custom"={"method"="GET", "path"="custom_action_collection_dummies"},
30-
* "custom_denormalization"={"route_name"="custom_denormalization"},
31-
* "short_custom_denormalization",
30+
* "custom_denormalization"={"method"="GET", "route_name"="custom_denormalization"},
31+
* "short_custom_denormalization"={"method"="GET", "route_name"="short_custom_denormalization"},
3232
* })
3333
*
3434
* @author Kévin Dunglas <dunglas@gmail.com>

0 commit comments

Comments
 (0)