Simplify hello world sample

This commit is contained in:
Daniel Hutzel
2024-07-16 15:28:27 +02:00
parent b8d389a40a
commit 722cf622eb
4 changed files with 8 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ describe('cap/samples - Hello world!', () => {
const { GET, expect } = cds.test (__dirname+'/../hello')
it('should say hello with class impl', async () => {
const {data} = await GET `/say/hello(to='world')`
const {data} = await GET `/odata/v4/say/hello(to='world')`
expect(data.value).to.eql('Hello world!')
})