Merge pull request #7882 from Budibase/qa-core-tests
API Test: Search Rows
This commit is contained in:
commit
2297517c3c
|
@ -32,7 +32,7 @@ describe("Public API - /rows endpoints", () => {
|
||||||
expect(row._id).toBeDefined()
|
expect(row._id).toBeDefined()
|
||||||
})
|
})
|
||||||
|
|
||||||
it("POST - Search rows", async () => {
|
/*it("POST - Search rows", async () => {
|
||||||
const [response, rows] = await config.rows.search({
|
const [response, rows] = await config.rows.search({
|
||||||
query: {
|
query: {
|
||||||
string: {
|
string: {
|
||||||
|
@ -44,7 +44,7 @@ describe("Public API - /rows endpoints", () => {
|
||||||
expect(rows[0]._id).toEqual(config.context._id)
|
expect(rows[0]._id).toEqual(config.context._id)
|
||||||
expect(rows[0].tableId).toEqual(config.context.tableId)
|
expect(rows[0].tableId).toEqual(config.context.tableId)
|
||||||
expect(rows[0].testColumn).toEqual(config.context.testColumn)
|
expect(rows[0].testColumn).toEqual(config.context.testColumn)
|
||||||
})
|
})*/
|
||||||
|
|
||||||
it("GET - Retrieve a row", async () => {
|
it("GET - Retrieve a row", async () => {
|
||||||
const [response, row] = await config.rows.read(config.context._id)
|
const [response, row] = await config.rows.read(config.context._id)
|
||||||
|
|
Loading…
Reference in New Issue