Skip to content

Commit

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

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

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

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

Expand Down

0 comments on commit 0f83b94

Please sign in to comment.