diff --git a/src/test/java/com/twilio/type/InboundCallPriceTest.java b/src/test/java/com/twilio/type/InboundCallPriceTest.java index f7da7e56d2..8a86d6a57d 100644 --- a/src/test/java/com/twilio/type/InboundCallPriceTest.java +++ b/src/test/java/com/twilio/type/InboundCallPriceTest.java @@ -13,8 +13,8 @@ public class InboundCallPriceTest extends TypeTest { @Test public void testFromJson() throws IOException { String json = "{\n" + - " \"base_price\": 1.00,\n" + - " \"current_price\": 2.00,\n" + + " \"base_price\": \"1.00\",\n" + + " \"current_price\": \"2.00\",\n" + " \"type\": \"mobile\"\n" + "}"; @@ -27,8 +27,8 @@ public void testFromJson() throws IOException { @Test public void testFromJsonTollFree() throws IOException { String json = "{\n" + - " \"base_price\": 1.00,\n" + - " \"current_price\": 2.00,\n" + + " \"base_price\": \"1.00\",\n" + + " \"current_price\": \"2.00\",\n" + " \"type\": \"toll free\"\n" + "}"; @@ -41,8 +41,8 @@ public void testFromJsonTollFree() throws IOException { @Test public void testFromJsonExtraField() throws IOException { String json = "{\n" + - " \"base_price\": 1.00,\n" + - " \"current_price\": 2.00,\n" + + " \"base_price\": \"1.00\",\n" + + " \"current_price\": \"2.00\",\n" + " \"type\": \"toll free\",\n" + " \"foo\": \"bar\"\n" + "}"; diff --git a/src/test/java/com/twilio/type/InboundSmsPriceTest.java b/src/test/java/com/twilio/type/InboundSmsPriceTest.java index 1a46b9ff5f..b4f9da2aed 100644 --- a/src/test/java/com/twilio/type/InboundSmsPriceTest.java +++ b/src/test/java/com/twilio/type/InboundSmsPriceTest.java @@ -13,8 +13,8 @@ public class InboundSmsPriceTest extends TypeTest { @Test public void testFromJson() throws IOException { String json = "{\n" + - " \"base_price\": 1.00,\n" + - " \"current_price\": 2.00,\n" + + " \"base_price\": \"1.00\",\n" + + " \"current_price\": \"2.00\",\n" + " \"number_type\": \"mobile\"\n" + "}"; @@ -27,8 +27,8 @@ public void testFromJson() throws IOException { @Test public void testFromJsonTollFree() throws IOException { String json = "{\n" + - " \"base_price\": 1.00,\n" + - " \"current_price\": 2.00,\n" + + " \"base_price\": \"1.00\",\n" + + " \"current_price\": \"2.00\",\n" + " \"number_type\": \"toll free\"\n" + "}"; diff --git a/src/test/java/com/twilio/type/OutboundCallPriceTest.java b/src/test/java/com/twilio/type/OutboundCallPriceTest.java index d157544c38..387728adc0 100644 --- a/src/test/java/com/twilio/type/OutboundCallPriceTest.java +++ b/src/test/java/com/twilio/type/OutboundCallPriceTest.java @@ -13,8 +13,8 @@ public class OutboundCallPriceTest extends TypeTest { @Test public void testFromJson() throws IOException { String json = "{\n" + - " \"base_price\": 1.00,\n" + - " \"current_price\": 2.00\n" + + " \"base_price\": \"1.00\",\n" + + " \"current_price\": \"2.00\"\n" + "}"; OutboundCallPrice ocp = fromJson(json, OutboundCallPrice.class); diff --git a/src/test/java/com/twilio/type/OutboundPrefixPriceTest.java b/src/test/java/com/twilio/type/OutboundPrefixPriceTest.java index 84cceb7c13..c80ce156d9 100644 --- a/src/test/java/com/twilio/type/OutboundPrefixPriceTest.java +++ b/src/test/java/com/twilio/type/OutboundPrefixPriceTest.java @@ -19,8 +19,8 @@ public void testFromJson() throws IOException { " \"xyz\"\n" + " ],\n" + " \"friendly_name\": \"name\",\n" + - " \"base_price\": 1.00,\n" + - " \"current_price\": 2.00\n" + + " \"base_price\": \"1.00\",\n" + + " \"current_price\": \"2.00\"\n" + "}"; OutboundPrefixPrice opp = fromJson(json, OutboundPrefixPrice.class); diff --git a/src/test/java/com/twilio/type/OutboundSmsPriceTest.java b/src/test/java/com/twilio/type/OutboundSmsPriceTest.java index f207df094d..63bfd16981 100644 --- a/src/test/java/com/twilio/type/OutboundSmsPriceTest.java +++ b/src/test/java/com/twilio/type/OutboundSmsPriceTest.java @@ -19,8 +19,8 @@ public void testFromJson() throws IOException { " \"carrier\": \"att\",\n" + " \"prices\": [{\n" + " \"type\": \"local\",\n" + - " \"base_price\": 1.00,\n" + - " \"current_price\": 2.00\n" + + " \"base_price\": \"1.00\",\n" + + " \"current_price\": \"2.00\"\n" + " }]\n" + "}"; diff --git a/src/test/java/com/twilio/type/PhoneNumberPriceTest.java b/src/test/java/com/twilio/type/PhoneNumberPriceTest.java index 189ef1d746..e8b34e62bd 100644 --- a/src/test/java/com/twilio/type/PhoneNumberPriceTest.java +++ b/src/test/java/com/twilio/type/PhoneNumberPriceTest.java @@ -13,8 +13,8 @@ public class PhoneNumberPriceTest extends TypeTest { @Test public void testFromJson() throws IOException { String json = "{\n" + - " \"base_price\": 1.00,\n" + - " \"current_price\": 2.00,\n" + + " \"base_price\": \"1.00\",\n" + + " \"current_price\": \"2.00\",\n" + " \"number_type\": \"mobile\"\n" + "}"; @@ -27,8 +27,8 @@ public void testFromJson() throws IOException { @Test public void testFromJsonTollFreeType() throws IOException { String json = "{\n" + - " \"base_price\": 1.00,\n" + - " \"current_price\": 2.00,\n" + + " \"base_price\": \"1.00\",\n" + + " \"current_price\": \"2.00\",\n" + " \"number_type\": \"toll free\"\n" + "}";