Fix for test case.
This commit is contained in:
parent
9a61ec5950
commit
595dd7ea6d
|
@ -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(",")`
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue