diff options
author | Harald Musum <musum@yahooinc.com> | 2023-10-09 21:06:43 +0200 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2023-10-09 21:06:43 +0200 |
commit | b0bbcfa758db0a03b7385ae2df1ec6885342247f (patch) | |
tree | 64531b80c4bfe7b46003b439bbb76366b5bec690 /controller-server/src/test | |
parent | bf585a1f2b3295226aac4f312b588b50e0e8c7a4 (diff) |
Make each item contain description and amount if amount > 0
Diffstat (limited to 'controller-server/src/test')
-rw-r--r-- | controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/pricing/PricingApiHandlerTest.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/pricing/PricingApiHandlerTest.java b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/pricing/PricingApiHandlerTest.java index bc92d815dfe..2d93237159d 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/pricing/PricingApiHandlerTest.java +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/pricing/PricingApiHandlerTest.java @@ -27,10 +27,8 @@ public class PricingApiHandlerTest extends ControllerContainerCloudTest { tester.assertJsonResponse(request, """ { "priceInfo": [ - {"listPrice": "2400.00"}, - {"volumeDiscount": "5.00"}, - {"committedAmountDiscount": "0.00"}, - {"enclaveDiscount": "0.00"} + {"description": "listPrice", "amount": "2400.00"}, + {"description": "volumeDiscount", "amount": "5.00"} ], "totalAmount": "2395.00" } |