@@ -55,7 +55,7 @@ def test_build_api_with_route_dependencies(self):
55
55
{"path" : "/collections" , "method" : "PUT" },
56
56
{"path" : "/collections/{collectionId}" , "method" : "DELETE" },
57
57
{"path" : "/collections/{collectionId}/items" , "method" : "POST" },
58
- {"path" : "/collections/{collectionId}/items" , "method" : "PUT" },
58
+ {"path" : "/collections/{collectionId}/items/{itemId} " , "method" : "PUT" },
59
59
{"path" : "/collections/{collectionId}/items/{itemId}" , "method" : "DELETE" },
60
60
]
61
61
dependencies = [Depends (must_be_bob )]
@@ -68,7 +68,7 @@ def test_add_route_dependencies_after_building_api(self):
68
68
{"path" : "/collections" , "method" : "PUT" },
69
69
{"path" : "/collections/{collectionId}" , "method" : "DELETE" },
70
70
{"path" : "/collections/{collectionId}/items" , "method" : "POST" },
71
- {"path" : "/collections/{collectionId}/items" , "method" : "PUT" },
71
+ {"path" : "/collections/{collectionId}/items/{itemId} " , "method" : "PUT" },
72
72
{"path" : "/collections/{collectionId}/items/{itemId}" , "method" : "DELETE" },
73
73
]
74
74
api = self ._build_api ()
0 commit comments