|
|
@ -940,7 +940,7 @@ function viewRowTests() { |
|
|
|
.expect(200); |
|
|
|
.expect(200); |
|
|
|
|
|
|
|
|
|
|
|
if ( |
|
|
|
if ( |
|
|
|
response.body.list[4]['first_name'] !== 'WILLIE' || |
|
|
|
response.body.list[4]['FirstName'] !== 'WILLIE' || |
|
|
|
parseInt(response.body.list[4]['count']) !== 2 |
|
|
|
parseInt(response.body.list[4]['count']) !== 2 |
|
|
|
) |
|
|
|
) |
|
|
|
throw new Error('Wrong groupby'); |
|
|
|
throw new Error('Wrong groupby'); |
|
|
@ -986,13 +986,13 @@ function viewRowTests() { |
|
|
|
.query({ |
|
|
|
.query({ |
|
|
|
fields: visibleColumns.map((c) => c.title), |
|
|
|
fields: visibleColumns.map((c) => c.title), |
|
|
|
sort: sortInfo, |
|
|
|
sort: sortInfo, |
|
|
|
column_name: firstNameColumn.column_name, |
|
|
|
column_name: firstNameColumn.title, |
|
|
|
offset: 4, |
|
|
|
offset: 4, |
|
|
|
}) |
|
|
|
}) |
|
|
|
.expect(200); |
|
|
|
.expect(200); |
|
|
|
|
|
|
|
|
|
|
|
if ( |
|
|
|
if ( |
|
|
|
response.body.list[0]['first_name'] !== 'WILLIE' || |
|
|
|
response.body.list[0]['FirstName'] !== 'WILLIE' || |
|
|
|
parseInt(response.body.list[0]['count']) !== 2 |
|
|
|
parseInt(response.body.list[0]['count']) !== 2 |
|
|
|
) |
|
|
|
) |
|
|
|
throw new Error('Wrong groupby'); |
|
|
|
throw new Error('Wrong groupby'); |
|
|
|