|
|
|
@ -427,10 +427,6 @@ function tableTest() {
|
|
|
|
|
relatedTableColumnTitle: 'FirstName', |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
const paymentListColumn = (await rentalTable.getColumns()).find( |
|
|
|
|
(c) => c.title === 'Payment List', |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
const nestedFilter = { |
|
|
|
|
is_group: true, |
|
|
|
|
status: 'create', |
|
|
|
@ -443,12 +439,6 @@ function tableTest() {
|
|
|
|
|
comparison_op: 'like', |
|
|
|
|
value: '%a%', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
fk_column_id: paymentListColumn?.id, |
|
|
|
|
status: 'create', |
|
|
|
|
logical_op: 'and', |
|
|
|
|
comparison_op: 'notblank', |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
@ -513,10 +503,6 @@ function tableTest() {
|
|
|
|
|
relatedTableColumnTitle: 'FirstName', |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
const paymentListColumn = (await rentalTable.getColumns()).find( |
|
|
|
|
(c) => c.title === 'Payment List', |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
const returnDateColumn = (await rentalTable.getColumns()).find( |
|
|
|
|
(c) => c.title === 'ReturnDate', |
|
|
|
|
); |
|
|
|
@ -533,12 +519,6 @@ function tableTest() {
|
|
|
|
|
comparison_op: 'like', |
|
|
|
|
value: '%a%', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
fk_column_id: paymentListColumn?.id, |
|
|
|
|
status: 'create', |
|
|
|
|
logical_op: 'and', |
|
|
|
|
comparison_op: 'notblank', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
is_group: true, |
|
|
|
|
status: 'create', |
|
|
|
@ -786,10 +766,6 @@ function tableTest() {
|
|
|
|
|
relatedTableColumnTitle: 'RentalDate', |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
const paymentListColumn = (await customerTable.getColumns()).find( |
|
|
|
|
(c) => c.title === 'Payment List', |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
const activeColumn = (await customerTable.getColumns()).find( |
|
|
|
|
(c) => c.title === 'Active', |
|
|
|
|
); |
|
|
|
@ -818,12 +794,6 @@ function tableTest() {
|
|
|
|
|
comparison_op: 'lte', |
|
|
|
|
value: 30, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
fk_column_id: paymentListColumn?.id, |
|
|
|
|
status: 'create', |
|
|
|
|
logical_op: 'and', |
|
|
|
|
comparison_op: 'notblank', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
is_group: true, |
|
|
|
|
status: 'create', |
|
|
|
@ -1097,10 +1067,6 @@ function tableTest() {
|
|
|
|
|
relatedTableColumnTitle: 'RentalDate', |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
const paymentListColumn = (await customerTable.getColumns()).find( |
|
|
|
|
(c) => c.title === 'Payment List', |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
const activeColumn = (await customerTable.getColumns()).find( |
|
|
|
|
(c) => c.title === 'Active', |
|
|
|
|
); |
|
|
|
@ -1131,12 +1097,6 @@ function tableTest() {
|
|
|
|
|
comparison_op: 'lte', |
|
|
|
|
value: 30, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
fk_column_id: paymentListColumn?.id, |
|
|
|
|
status: 'create', |
|
|
|
|
logical_op: 'and', |
|
|
|
|
comparison_op: 'notblank', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
is_group: true, |
|
|
|
|
status: 'create', |
|
|
|
@ -1295,7 +1255,11 @@ function tableTest() {
|
|
|
|
|
.expect(200); |
|
|
|
|
|
|
|
|
|
const record = response.body; |
|
|
|
|
if (isPg(context)) { |
|
|
|
|
expect(record['Film List']).to.equal('19'); |
|
|
|
|
} else { |
|
|
|
|
expect(record['Film List']).to.equal(19); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
it('Update table row', async function () { |
|
|
|
|