Add extra rows

This commit is contained in:
Adria Navarro 2024-10-15 14:15:45 +02:00
parent 6321108297
commit 41405ea39d
1 changed files with 26 additions and 0 deletions

View File

@ -2609,6 +2609,21 @@ describe.each([
related1: [relatedRows[2]._id!],
related2: [relatedRows[3]._id!],
}),
config.api.row.save(tableOrViewId, {
name: "test3",
related1: [],
related2: [],
}),
config.api.row.save(tableOrViewId, {
name: "test4",
related1: [relatedRows[1]._id!],
related2: [],
}),
config.api.row.save(tableOrViewId, {
name: "test5",
related1: [],
related2: [relatedRows[1]._id!],
}),
])
})
@ -2626,6 +2641,17 @@ describe.each([
related1: [{ _id: relatedRows[2]._id }],
related2: [{ _id: relatedRows[3]._id }],
},
{
name: "test3",
},
{
name: "test4",
related1: [{ _id: relatedRows[1]._id }],
},
{
name: "test5",
related2: [{ _id: relatedRows[1]._id! }],
},
])
})