|
|
@ -113,8 +113,6 @@ function tableTest() { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.expect(200); |
|
|
|
.expect(200); |
|
|
|
|
|
|
|
|
|
|
|
console.log(response.body.list); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (response.body.list.length !== rowCount) { |
|
|
|
if (response.body.list.length !== rowCount) { |
|
|
|
throw new Error('Wrong number of rows'); |
|
|
|
throw new Error('Wrong number of rows'); |
|
|
|
} |
|
|
|
} |
|
|
@ -154,8 +152,6 @@ function tableTest() { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.expect(200); |
|
|
|
.expect(200); |
|
|
|
|
|
|
|
|
|
|
|
console.log(response.body.list); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (response.body.list.length !== rowCount) { |
|
|
|
if (response.body.list.length !== rowCount) { |
|
|
|
throw new Error('Wrong number of rows'); |
|
|
|
throw new Error('Wrong number of rows'); |
|
|
|
} |
|
|
|
} |
|
|
|