Skip to content

Commit 8edc586

Browse files
remove page param
1 parent 02dca06 commit 8edc586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_relationships.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def test_get_subcategory_products_populated_with_pagination(self, create_subcate
253253
product_resp = create_product(f"SP{index}", "desc", subcategories=[subcategory["id"]])
254254
product_ids.add(product_resp.get_json().get("id"))
255255

256-
page1 = self.client.get(f"/subcategories/{subcategory['id']}/products?page=1").get_json()
256+
page1 = self.client.get(f"/subcategories/{subcategory['id']}/products").get_json()
257257
next_cursor = page1["cursor"]["next"]
258258
page2 = self.client.get(f"/subcategories/{subcategory['id']}/products?cursor={next_cursor}").get_json()
259259
assert len(page1["products"]) == 10

0 commit comments

Comments
 (0)