Browse Source

test: response format correction

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5901/head
Raju Udava 1 year ago
parent
commit
4108f77eb6
  1. 2
      packages/nocodb/tests/unit/rest/tests/newDataApis.test.ts

2
packages/nocodb/tests/unit/rest/tests/newDataApis.test.ts

@ -672,7 +672,7 @@ function textBased() {
it('Create: bulk', async function () {
const rsp = await ncAxiosPost({ body: [newRecord, newRecord, newRecord] });
expect(rsp.body).to.deep.equal([401, 402, 403]);
expect(rsp.body).to.deep.equal([{ Id: 401 }, { Id: 402 }, { Id: 403 }]);
});
// Error handling

Loading…
Cancel
Save