Use right tableid

This commit is contained in:
Adria Navarro 2023-01-19 16:10:29 +00:00
parent 2e240508c7
commit 2bc45336fc
1 changed files with 1 additions and 1 deletions

View File

@ -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 () => {