Browse Source

Extend test files

pull/5377/head
Thomas Kaul 5 days ago
parent
commit
3416c5daee
  1. 9
      test/import/ok/derived-currency.json
  2. 10
      test/import/ok/sample.json
  3. 10
      test/import/ok/vti-buy-long-history.json
  4. 7
      test/import/ok/without-accounts.json

9
test/import/ok/derived-currency.json

@ -13,6 +13,8 @@
"platformId": null
}
],
"platforms": [],
"tags": [],
"activities": [
{
"accountId": "b2d3fe1d-d6a8-41a3-be39-07ef5e9480f0",
@ -26,5 +28,10 @@
"date": "2024-06-28T00:00:00.000Z",
"symbol": "JSE.JO"
}
]
],
"user": {
"settings": {
"currency": "USD"
}
}
}

10
test/import/ok/sample.json

@ -21,7 +21,7 @@
"id": "b2d3fe1d-d6a8-41a3-be39-07ef5e9480f0",
"isExcluded": false,
"name": "My Online Trading Account",
"platformId": null
"platformId": "9da3a8a7-4795-43e3-a6db-ccb914189737"
}
],
"assetProfiles": [
@ -70,7 +70,13 @@
"url": null
}
],
"platforms": [],
"platforms": [
{
"id": "9da3a8a7-4795-43e3-a6db-ccb914189737",
"name": "Interactive Brokers",
"url": "https://interactivebrokers.com"
}
],
"tags": [],
"activities": [
{

10
test/import/ok/vti-buy-long-history.json

@ -3,6 +3,9 @@
"date": "2023-04-29T00:00:00.000Z",
"version": "dev"
},
"accounts": [],
"platforms": [],
"tags": [],
"activities": [
{
"fee": 0,
@ -34,5 +37,10 @@
"date": "2010-01-04T00:00:00.000Z",
"symbol": "VTI"
}
]
],
"user": {
"settings": {
"currency": "USD"
}
}
}

7
test/import/ok/without-accounts.json

@ -44,5 +44,10 @@
"date": "2021-09-16T00:00:00.000Z",
"symbol": "MSFT"
}
]
],
"user": {
"settings": {
"currency": "USD"
}
}
}

Loading…
Cancel
Save