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