diff --git a/packages/nocodb/tests/unit/rest/tests/viewRow.test.ts b/packages/nocodb/tests/unit/rest/tests/viewRow.test.ts index 85d642e3b8..f27e2178b7 100644 --- a/packages/nocodb/tests/unit/rest/tests/viewRow.test.ts +++ b/packages/nocodb/tests/unit/rest/tests/viewRow.test.ts @@ -940,7 +940,7 @@ function viewRowTests() { .expect(200); if ( - response.body.list[4]['first_name'] !== 'WILLIE' || + response.body.list[4]['FirstName'] !== 'WILLIE' || parseInt(response.body.list[4]['count']) !== 2 ) throw new Error('Wrong groupby'); @@ -986,13 +986,13 @@ function viewRowTests() { .query({ fields: visibleColumns.map((c) => c.title), sort: sortInfo, - column_name: firstNameColumn.column_name, + column_name: firstNameColumn.title, offset: 4, }) .expect(200); if ( - response.body.list[0]['first_name'] !== 'WILLIE' || + response.body.list[0]['FirstName'] !== 'WILLIE' || parseInt(response.body.list[0]['count']) !== 2 ) throw new Error('Wrong groupby');