Fix locale handling
This commit is contained in:
committed by
GitHub
parent
3dccfc30f0
commit
a560e12106
@@ -26,7 +26,8 @@ describe('Bookshop: OData Protocol Level Testing', () => {
|
|||||||
|
|
||||||
it('Get with select, expand and localized', async () => {
|
it('Get with select, expand and localized', async () => {
|
||||||
const response = await request
|
const response = await request
|
||||||
.get('/browse/Books?$select=title,author&$expand=currency&sap-language=de')
|
.get('/browse/Books?$select=title,author&$expand=currency')
|
||||||
|
.set('Accept-Language', 'de')
|
||||||
.expect('Content-Type', /^application\/json/)
|
.expect('Content-Type', /^application\/json/)
|
||||||
.expect(200)
|
.expect(200)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user