Changed in Test

This commit is contained in:
alibw
2024-11-16 18:23:01 +03:30
parent f148350b78
commit 1ed2f3c836

View File

@@ -22,7 +22,7 @@ GET /products?unit_price=is.null
?? body length == 0 ?? body length == 0
### ###
GET /products?product_name=in.(Chai,Chang) GET /products?product_name=in.(Chai,Chang,Aniseed Syrup)
?? status == 200 ?? status == 200
?? body length == 3 ?? body length == 3
{{ {{
@@ -31,6 +31,7 @@ GET /products?product_name=in.(Chai,Chang)
test("OK in", () => test("OK in", () =>
{ {
expect(responseItems[0].id).to.equal(1); expect(responseItems[0].id).to.equal(1);
expect(responseItems[1].id).to.equal(2);
expect(responseItems[2].id).to.equal(3); expect(responseItems[2].id).to.equal(3);
}) })
}} }}