Test cosmetics

This commit is contained in:
Christian Georgi
2020-02-10 22:24:37 +00:00
parent 659fe52509
commit e89fc1d9bb

View File

@@ -31,59 +31,24 @@ describe('Bookshop: OData Protocol Level Testing', () => {
expect(response.body.value).toEqual([ expect(response.body.value).toEqual([
{ {
ID: 201, ID: 201, title: "Sturmhöhe", author: "Emily Brontë",
title: "Sturmhöhe", currency: { name: "Pfund", descr: "Britische Pfund", code: "GBP", symbol: "£" }
author: "Emily Brontë",
currency: {
name: "Pfund",
descr: "Britische Pfund",
code: "GBP",
symbol: "£"
}
}, },
{ {
ID: 207, ID: 207, title: "Jane Eyre", author: "Charlotte Brontë",
title: "Jane Eyre", currency: { name: "Pfund", descr: "Britische Pfund", code: "GBP", symbol: "£" }
author: "Charlotte Brontë",
currency: {
name: "Pfund",
descr: "Britische Pfund",
code: "GBP",
symbol: "£"
}
}, },
{ {
ID: 251, ID: 251, title: "The Raven", author: "Edgar Allen Poe",
title: "The Raven", currency: { name: "US-Dollar", descr: "United States Dollar", code: "USD", symbol: "$" }
author: "Edgar Allen Poe",
currency: {
name: "US-Dollar",
descr: "United States Dollar",
code: "USD",
symbol: "$"
}
}, },
{ {
ID: 252, ID: 252, title: "Eleonora", author: "Edgar Allen Poe",
title: "Eleonora", currency: { name: "US-Dollar", descr: "United States Dollar", code: "USD", symbol: "$" }
author: "Edgar Allen Poe",
currency: {
name: "US-Dollar",
descr: "United States Dollar",
code: "USD",
symbol: "$"
}
}, },
{ {
ID: 271, ID: 271, title: "Catweazle", author: "Richard Carpenter",
title: "Catweazle", currency: { name: "Euro", descr: "European Euro", code: "EUR", symbol: "€" }
author: "Richard Carpenter",
currency: {
name: "Euro",
descr: "European Euro",
code: "EUR",
symbol: "€"
}
} }
]) ])
}) })