From ce81248e664ccc991c257b07aa8f9e670ba193bb Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 26 Jan 2024 10:58:46 +0100 Subject: [PATCH] Use api calls for getTable test helper --- packages/server/src/tests/utilities/TestConfiguration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/tests/utilities/TestConfiguration.ts b/packages/server/src/tests/utilities/TestConfiguration.ts index 2db5a81674..7bdfd98c7f 100644 --- a/packages/server/src/tests/utilities/TestConfiguration.ts +++ b/packages/server/src/tests/utilities/TestConfiguration.ts @@ -634,7 +634,7 @@ class TestConfiguration { async getTable(tableId?: string) { tableId = tableId || this.table!._id! - return this._req(null, { tableId }, controllers.table.find) + return this.api.table.get(tableId) } async createLinkedTable(