Fix for test case.

This commit is contained in:
mike12345567 2024-09-10 17:21:36 +01:00
parent 9a61ec5950
commit 595dd7ea6d
1 changed files with 2 additions and 2 deletions

View File

@ -1958,7 +1958,7 @@ describe.each([
{ {
relationship: { relationship: {
type: FieldType.LINK, type: FieldType.LINK,
relationshipType: RelationshipType.ONE_TO_MANY, relationshipType: RelationshipType.MANY_TO_ONE,
name: "relationship", name: "relationship",
fieldName: "relate", fieldName: "relate",
tableId: arrayTable._id!, tableId: arrayTable._id!,
@ -1970,7 +1970,7 @@ describe.each([
type: FieldType.FORMULA, type: FieldType.FORMULA,
name: "formula", name: "formula",
formula: encodeJSBinding( formula: encodeJSBinding(
`let array = [];$("relationship").forEach(rel => array = array.concat(rel.array));return array.join(",")` `let array = [];$("relationship").forEach(rel => array = array.concat(rel.array));return array.sort().join(",")`
), ),
}, },
}, },