From 449d47b199ca4e18dcc66b51278a49a2c87836cf Mon Sep 17 00:00:00 2001 From: Kimmo Puputti Date: Fri, 29 Sep 2017 14:57:24 +0300 Subject: [PATCH] Rebase to changed listing shape --- .../OrderDetailsPanel.test.js.snap | 24 ++++++++++++------- .../SaleDetailsPanel.test.js.snap | 24 ++++++++++++------- 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/src/components/OrderDetailsPanel/__snapshots__/OrderDetailsPanel.test.js.snap b/src/components/OrderDetailsPanel/__snapshots__/OrderDetailsPanel.test.js.snap index b6d0e5b9..de84932a 100644 --- a/src/components/OrderDetailsPanel/__snapshots__/OrderDetailsPanel.test.js.snap +++ b/src/components/OrderDetailsPanel/__snapshots__/OrderDetailsPanel.test.js.snap @@ -178,12 +178,13 @@ exports[`OrderDetailsPanel accepted matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", @@ -354,12 +355,13 @@ exports[`OrderDetailsPanel accepted matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", @@ -563,12 +565,13 @@ exports[`OrderDetailsPanel autorejected matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", @@ -739,12 +742,13 @@ exports[`OrderDetailsPanel autorejected matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", @@ -948,12 +952,13 @@ exports[`OrderDetailsPanel delivered matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", @@ -1124,12 +1129,13 @@ exports[`OrderDetailsPanel delivered matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", @@ -1337,12 +1343,13 @@ exports[`OrderDetailsPanel preauthorized matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", @@ -1513,12 +1520,13 @@ exports[`OrderDetailsPanel preauthorized matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", diff --git a/src/components/SaleDetailsPanel/__snapshots__/SaleDetailsPanel.test.js.snap b/src/components/SaleDetailsPanel/__snapshots__/SaleDetailsPanel.test.js.snap index cf1acf9f..0071a5d9 100644 --- a/src/components/SaleDetailsPanel/__snapshots__/SaleDetailsPanel.test.js.snap +++ b/src/components/SaleDetailsPanel/__snapshots__/SaleDetailsPanel.test.js.snap @@ -185,12 +185,13 @@ exports[`SaleDetailsPanel accepted matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", @@ -318,12 +319,13 @@ exports[`SaleDetailsPanel accepted matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", @@ -533,12 +535,13 @@ exports[`SaleDetailsPanel autorejected matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", @@ -666,12 +669,13 @@ exports[`SaleDetailsPanel autorejected matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", @@ -881,12 +885,13 @@ exports[`SaleDetailsPanel delivered matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", @@ -1014,12 +1019,13 @@ exports[`SaleDetailsPanel delivered matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", @@ -1241,12 +1247,13 @@ exports[`SaleDetailsPanel preauthorized matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD", @@ -1374,12 +1381,13 @@ exports[`SaleDetailsPanel preauthorized matches snapshot 1`] = ` "listing": Object { "attributes": Object { "address": "listing1 address", + "closed": false, + "deleted": false, "description": "listing1 description", "geolocation": LatLng { "lat": 40, "lng": 60, }, - "open": true, "price": Money { "amount": 5500, "currency": "USD",