diff --git a/test/import/not-ok/invalid-platform.json b/test/import/not-ok/invalid-platform.json new file mode 100644 index 0000000000..69a8e29caf --- /dev/null +++ b/test/import/not-ok/invalid-platform.json @@ -0,0 +1,42 @@ +{ + "meta": { + "date": "2023-02-05T00:00:00.000Z", + "version": "dev" + }, + "accounts": [ + { + "balance": 0, + "balances": [], + "currency": "USD", + "id": "e62be662-a2c8-4cff-8b79-dc0a46576659", + "name": "Lehman Brothers Account", + "platformId": "2807e8e7-3966-4ced-8d82-0fa2d9c97277" + } + ], + "platforms": [ + { + "id": "2807e8e7-3966-4ced-8d82-0fa2d9c97277", + "name": "Lehman Brothers", + "url": "https://lehmanbrothers.com" + } + ], + "activities": [ + { + "accountId": "e62be662-a2c8-4cff-8b79-dc0a46576659", + "fee": 19, + "quantity": 5, + "type": "BUY", + "unitPrice": 298.58, + "currency": "USD", + "dataSource": "YAHOO", + "date": "2021-09-16T00:00:00.000Z", + "symbol": "MSFT" + } + ], + "user": { + "settings": { + "currency": "USD", + "performanceCalculationType": "ROAI" + } + } +}