Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
daogrady committed Aug 22, 2024
1 parent be931a5 commit 8602687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/typescript/apis/project/cds-services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ if (myUser instanceof cds.User) {
myUser.id === 'u2'
}

cds.context = { tenant:'t1', user: new cds.User('u2'), locale: 'en_GB', id: 'aaaa', timestamp: new Date() }
cds.context = { tenant:'t1', user: new cds.User('u2'), locale: 'en_GB', id: 'aaaa', timestamp: new Date(), model: ctx!.model }
const tx3 = cds.tx (cds.context)
const db = await cds.connect.to('db')
cds.context.features = {foo: true}
Expand Down

0 comments on commit 8602687

Please sign in to comment.