Skip to content

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
chgeo committed Aug 15, 2022
1 parent 5d71d43 commit 15de2e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/messaging.test.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const cds = require('@sap/cds/lib')
if (cds.User.default) cds.User.default = cds.User.Privileged // hard core monkey patch
else cds.User = cds.User.Privileged // hard core monkey patch for older cds releases

describe('cap/samples - Messaging', ()=>{

const { expect } = cds.test
const _model = '@capire/reviews'
const Reviews = 'sap.capire.reviews.Reviews'
if (cds.User.default) cds.User.default = cds.User.Privileged // hard core monkey patch
else cds.User = cds.User.Privileged // hard core monkey patch for older cds releases

let srv
beforeAll(async () => {
Expand Down

0 comments on commit 15de2e6

Please sign in to comment.