Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Kunz committed Sep 10, 2024
1 parent 0f83b94 commit a4a5bd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db-service/test/deep/deep.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -831,8 +831,8 @@ describe('test deep query generation', () => {

const insert = INSERT.into(entity).entries(entry)

const [...result] = await cds.db.run(insert)
expect(result).toMatchObject([{ realm: 'dummy', uniqueName: 'PR1'}])
const result = await cds.db.run(insert)
expect(result > 0).toBe(true)

const root = { uniqueName: entry.uniqueName, realm: entry.realm }

Expand Down

0 comments on commit a4a5bd4

Please sign in to comment.