File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1744,7 +1744,7 @@ async def test_item_asset_change(app_client, load_test_data):
17441744 resp = await app_client .get (
17451745 f"/collections/{ collection_id } /items" , params = {"limit" : 1 }
17461746 )
1747- assert resp .json ()["numberReturned" ] == 1
1747+ assert len ( resp .json ()["features" ]) == 1
17481748 assert resp .status_code == 200
17491749
17501750 # remove item_assets in collection
@@ -1760,5 +1760,5 @@ async def test_item_asset_change(app_client, load_test_data):
17601760 resp = await app_client .get (
17611761 f"/collections/{ collection_id } /items" , params = {"limit" : 1 }
17621762 )
1763- assert resp .json ()["numberReturned" ] == 1
1763+ assert len ( resp .json ()["features" ]) == 1
17641764 assert resp .status_code == 200
You can’t perform that action at this time.
0 commit comments