From 072653dbc238148b33575e96ae15ddb3f7cec933 Mon Sep 17 00:00:00 2001 From: Artem Dvornichenko Date: Fri, 30 Jun 2023 12:58:15 +0300 Subject: [PATCH] API-7197: Fix unit tests --- .../java/com/siftscience/CreateOrderEventTest.java | 12 ++++++------ .../java/com/siftscience/UpdateOrderEventTest.java | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/test/java/com/siftscience/CreateOrderEventTest.java b/src/test/java/com/siftscience/CreateOrderEventTest.java index 74f88f0..a067432 100644 --- a/src/test/java/com/siftscience/CreateOrderEventTest.java +++ b/src/test/java/com/siftscience/CreateOrderEventTest.java @@ -68,8 +68,8 @@ public void testCreateOrderEventWithBookings() throws JSONException, IOException " },\n" + " \"$expedited_shipping\" : true,\n" + " \"$shipping_method\" : \"$physical\",\n" + - " \"shipping_carrier\" : \"The Best Carrier\",\n" + - " \"shipping_tracking_numbers\" : [\"track-1\", \"track-2\"],\n" + + " \"$shipping_carrier\" : \"The Best Carrier\",\n" + + " \"$shipping_tracking_numbers\" : [\"track-1\", \"track-2\"],\n" + " \"$bookings\": [\n" + " {\n" + " \"$booking_type\": \"$flight\",\n" + @@ -273,8 +273,8 @@ public void testCreateOrderEventWithItems() throws JSONException, IOException, " },\n" + " \"$expedited_shipping\" : true,\n" + " \"$shipping_method\" : \"$physical\",\n" + - " \"shipping_carrier\" : \"The Best Carrier\",\n" + - " \"shipping_tracking_numbers\" : [\"track-1\", \"track-2\"],\n" + + " \"$shipping_carrier\" : \"The Best Carrier\",\n" + + " \"$shipping_tracking_numbers\" : [\"track-1\", \"track-2\"],\n" + " \"$items\" : [\n" + " {\n" + " \"$item_id\" : \"12344321\",\n" + @@ -448,8 +448,8 @@ public void testCreateOrderEventwithSiteBrandOrderedFromFields() throws " },\n" + " \"$expedited_shipping\": true,\n" + " \"$shipping_method\": \"$physical\",\n" + - " \"shipping_carrier\" : \"The Best Carrier\",\n" + - " \"shipping_tracking_numbers\" : [\"track-1\", \"track-2\"],\n" + + " \"$shipping_carrier\" : \"The Best Carrier\",\n" + + " \"$shipping_tracking_numbers\" : [\"track-1\", \"track-2\"],\n" + " \"$ordered_from\" : {\n" + " \"$store_id\" : \"123\",\n" + " \"$store_address\" : {\n" + diff --git a/src/test/java/com/siftscience/UpdateOrderEventTest.java b/src/test/java/com/siftscience/UpdateOrderEventTest.java index f6edf7a..f8e34ae 100644 --- a/src/test/java/com/siftscience/UpdateOrderEventTest.java +++ b/src/test/java/com/siftscience/UpdateOrderEventTest.java @@ -69,8 +69,8 @@ public void testUpdateOrderEventWithBookings() throws JSONException, IOException " },\n" + " \"$expedited_shipping\" : true,\n" + " \"$shipping_method\" : \"$physical\",\n" + - " \"shipping_carrier\" : \"The Best Carrier\",\n" + - " \"shipping_tracking_numbers\" : [\"track-1\", \"track-2\"],\n" + + " \"$shipping_carrier\" : \"The Best Carrier\",\n" + + " \"$shipping_tracking_numbers\" : [\"track-1\", \"track-2\"],\n" + " \"$bookings\": [\n" + " {\n" + " \"$booking_type\": \"$flight\",\n" + @@ -271,8 +271,8 @@ public void testUpdateOrderEventWithItems() throws JSONException, IOException, I " },\n" + " \"$expedited_shipping\" : true,\n" + " \"$shipping_method\" : \"$physical\",\n" + - " \"shipping_carrier\" : \"The Best Carrier\",\n" + - " \"shipping_tracking_numbers\" : [\"track-1\", \"track-2\"],\n" + + " \"$shipping_carrier\" : \"The Best Carrier\",\n" + + " \"$shipping_tracking_numbers\" : [\"track-1\", \"track-2\"],\n" + " \"$items\" : [\n" + " {\n" + " \"$item_id\" : \"12344321\",\n" + @@ -445,8 +445,8 @@ public void testUpdateOrderEventWithSiteBrandOrderedFromFields() " },\n" + " \"$expedited_shipping\": true,\n" + " \"$shipping_method\": \"$physical\",\n" + - " \"shipping_carrier\" : \"The Best Carrier\",\n" + - " \"shipping_tracking_numbers\" : [\"track-1\", \"track-2\"],\n" + + " \"$shipping_carrier\" : \"The Best Carrier\",\n" + + " \"$shipping_tracking_numbers\" : [\"track-1\", \"track-2\"],\n" + " \"$ordered_from\" : {\n" + " \"$store_id\" : \"123\",\n" + " \"$store_address\" : {\n" +