From 2bc45336fc1b526e6f1d1e1f97226c89ea7c24ea Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 19 Jan 2023 16:10:29 +0000 Subject: [PATCH] Use right tableid --- packages/server/src/integration-test/row.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/integration-test/row.spec.ts b/packages/server/src/integration-test/row.spec.ts index 189e3fee8f..f4c2d23eb8 100644 --- a/packages/server/src/integration-test/row.spec.ts +++ b/packages/server/src/integration-test/row.spec.ts @@ -230,7 +230,7 @@ describe("row api - postgres", () => { describe("search for rows", () => { const search = (tableId: string | undefined, body?: object) => - makeRequest("post", `/tables/${postgresTable._id}/rows/search`, body) + makeRequest("post", `/tables/${tableId}/rows/search`, body) describe("empty search", () => { test("Given than a table has no rows, search without query returns empty", async () => {