Skip to content

Commit

Permalink
API-7197: Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
advornichenko-sift committed Jun 30, 2023
1 parent 4d52290 commit 072653d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions src/test/java/com/siftscience/CreateOrderEventTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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" +
Expand Down Expand Up @@ -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" +
Expand Down Expand Up @@ -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" +
Expand Down
12 changes: 6 additions & 6 deletions src/test/java/com/siftscience/UpdateOrderEventTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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" +
Expand Down Expand Up @@ -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" +
Expand Down Expand Up @@ -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" +
Expand Down

0 comments on commit 072653d

Please sign in to comment.