Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit d00680f

Browse files
danjoadimaanj
authored andcommitted
Preparing test for upcomming release 4.4.4
1 parent 9ca1e9c commit d00680f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/messaging.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
const { expect } = require('../test')
22
const cds = require('@sap/cds/lib')
33
const _model = '@capire/reviews'
4-
cds.User = cds.User.Privileged // hard core monkey patch
4+
if (cds.User.default) cds.User.default = cds.User.Privileged // hard core monkey patch
5+
else cds.User = cds.User.Privileged // hard core monkey patch for older cds releases
56

67
describe('Messaging', ()=>{
78

0 commit comments

Comments
 (0)