From 59bdae57ccdc5a414c74d62ffdecfe0853f017fe Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 17 Dec 2024 16:58:15 +0100 Subject: [PATCH] Fix test --- packages/server/src/api/routes/tests/search.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/server/src/api/routes/tests/search.spec.ts b/packages/server/src/api/routes/tests/search.spec.ts index e97f48afbe..e94e567b43 100644 --- a/packages/server/src/api/routes/tests/search.spec.ts +++ b/packages/server/src/api/routes/tests/search.spec.ts @@ -3399,7 +3399,7 @@ if (descriptions.length) { type: FieldType.LINK, relationshipType: RelationshipType.MANY_TO_ONE, tableId: toRelateTableId, - fieldName: "link", + fieldName: "main", }, }) @@ -3408,7 +3408,7 @@ if (descriptions.length) { ) await config.api.table.save({ ...toRelateTable, - primaryDisplay: "link", + primaryDisplay: "name", }) const relatedRows = await Promise.all([ config.api.row.save(toRelateTable._id!, {