Changed in Test
This commit is contained in:
@@ -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);
|
||||||
})
|
})
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user