Re-enabled secured hierarchical-data test
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const {expect} = require('./capire')
|
||||
// global.cds = undefined
|
||||
const cds = require ('@sap/cds')
|
||||
const cwd = process.cwd(); process.chdir (__dirname) //> only for internal CI/CD@SAP
|
||||
|
||||
const model = cds.parse(`
|
||||
entity Categories {
|
||||
@@ -21,6 +21,8 @@ describe('Hierarchical Data', ()=>{
|
||||
expect (cds.db.model) .to.exist
|
||||
})
|
||||
|
||||
after(()=> process.chdir(cwd))
|
||||
|
||||
it ('supports deeply nested inserts', ()=> INSERT.into (Cats,
|
||||
{ ID:100, name:'Some Cats...', children:[
|
||||
{ ID:101, name:'Cat', children:[
|
||||
Reference in New Issue
Block a user