From ad417ec06198df9009631e2515e93569d85f82c1 Mon Sep 17 00:00:00 2001 From: Gregor Wolf Date: Mon, 3 May 2021 09:33:05 +0200 Subject: [PATCH] fix test for Yen --- fiori/test/requests.http | 4 ++++ test/localized-data.test.js | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/fiori/test/requests.http b/fiori/test/requests.http index badacbfe..d8392583 100644 --- a/fiori/test/requests.http +++ b/fiori/test/requests.http @@ -38,7 +38,11 @@ GET {{bookshop}}/browse/Books(201)? &$select=ID,title,rating &$expand=reviews +### +GET {{bookshop}}/browse/Books? + &$select=title,author&$expand=currency +Accept-Language: de ################################################# # diff --git a/test/localized-data.test.js b/test/localized-data.test.js index bfa3411f..5ba9bd19 100644 --- a/test/localized-data.test.js +++ b/test/localized-data.test.js @@ -43,7 +43,7 @@ describe('Localized Data', () => { { title: 'Jane Eyre', author: 'Charlotte Brontë', currency: { name: 'Pfund' } }, { title: 'The Raven', author: 'Edgar Allen Poe', currency: { name: 'US-Dollar' } }, { title: 'Eleonora', author: 'Edgar Allen Poe', currency: { name: 'US-Dollar' } }, - { title: 'Catweazle', author: 'Richard Carpenter', currency: { name: 'Euro' } }, + { title: 'Catweazle', author: 'Richard Carpenter', currency: { name: 'Yen' } }, ]) }) @@ -85,7 +85,7 @@ describe('Localized Data', () => { { title: 'Jane Eyre', currency: { name: 'British Pound' } }, { title: 'The Raven', currency: { name: 'US Dollar' } }, { title: 'Eleonora', currency: { name: 'US Dollar' } }, - { title: 'Catweazle', currency: { name: 'Euro' } }, + { title: 'Catweazle', currency: { name: 'Yen' } }, ]) }) })