Cosmetics to test outlines (#340)

This commit is contained in:
Daniel Hutzel
2022-04-03 12:36:11 +02:00
committed by GitHub
parent 529c431518
commit bbf1194a09
8 changed files with 9 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ const { GET, POST, expect } = cds.test(__dirname+'/../bookshop')
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('Custom Handlers', () => {
describe('cap/samples - Custom Handlers', () => {
it('should reject out-of-stock orders', async () => {
await POST `/browse/submitOrder ${{ book: 201, quantity: 5 }}`