Skip to content

Commit 04810fc

Browse files
authored
Fix wrong unit test description
1 parent 6cb146d commit 04810fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ams-cap-nodejs-bookshop/test/cat-service.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ describe('CatalogService', () => {
231231
* - access to Catweazle is granted as its genre is Fantasy
232232
* - access to Eleonora is granted as its description hints at a happy ending but filtered out by stock < 30 from ReadCatalog policy
233233
*/
234-
it('/Books should return 2 Books (Eleonora, Catweazle)', async () => {
234+
it('/Books should return 1 Book (Catweazle)', async () => {
235235
const { status, data } = await GET`/odata/v4/catalog/Books`
236236
expect(status).toBe(200)
237237
expect(data.value?.length).toBe(1)
@@ -254,4 +254,4 @@ describe('CatalogService', () => {
254254
})
255255
})
256256

257-
})
257+
})

0 commit comments

Comments
 (0)