Fixing copy errors

Signed-off-by: Daniel <daniel.hutzel@sap.com>
This commit is contained in:
Daniel
2021-11-24 19:48:28 +01:00
committed by Daniel Hutzel
parent 756ed48ce3
commit 8d8aa6c2c9
4 changed files with 38 additions and 25 deletions

View File

@@ -19,13 +19,13 @@ describe('OData Protocol', () => {
it('supports $search in multiple fields', async () => {
const { data } = await GET `/browse/Books ${{
params: { $search: 'Po', $select: `title,authorName` },
params: { $search: 'Po', $select: `title,author` },
}}`
expect(data.value).to.eql([
{ ID: 201, title: 'Wuthering Heights', authorName: 'Emily Brontë' },
{ ID: 207, title: 'Jane Eyre', authorName: 'Charlotte Brontë' },
{ ID: 251, title: 'The Raven', authorName: 'Edgar Allen Poe' },
{ ID: 252, title: 'Eleonora', authorName: 'Edgar Allen Poe' },
{ ID: 201, title: 'Wuthering Heights', author: 'Emily Brontë' },
{ ID: 207, title: 'Jane Eyre', author: 'Charlotte Brontë' },
{ ID: 251, title: 'The Raven', author: 'Edgar Allen Poe' },
{ ID: 252, title: 'Eleonora', author: 'Edgar Allen Poe' },
])
})