Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/harmonize date formats in import test files (#3910)

Thomas Kaul04d5416c6ded
diff --git a/test/import/ok-derived-currency.json b/test/import/ok-derived-currency.json
index b43be395d4..fe5554beb0 100644
--- a/test/import/ok-derived-currency.json
+++ b/test/import/ok-derived-currency.json
@@ -23,7 +23,7 @@
"unitPrice": 10875.00,
"currency": "ZAc",
"dataSource": "YAHOO",
- "date": "2024-06-27T22:00:00.000Z",
+ "date": "2024-06-28T00:00:00.000Z",
"symbol": "JSE.JO"
}
]
diff --git a/test/import/ok-vti-buy-long-history.json b/test/import/ok-vti-buy-long-history.json
index e6020e405d..1586cff7b6 100644
--- a/test/import/ok-vti-buy-long-history.json
+++ b/test/import/ok-vti-buy-long-history.json
@@ -11,7 +11,7 @@
"unitPrice": 65.31,
"currency": "USD",
"dataSource": "YAHOO",
- "date": "2012-01-02T22:00:00.000Z",
+ "date": "2012-01-03T00:00:00.000Z",
"symbol": "VTI"
},
{
@@ -21,7 +21,7 @@
"unitPrice": 65.40,
"currency": "USD",
"dataSource": "YAHOO",
- "date": "2011-01-02T22:00:00.000Z",
+ "date": "2011-01-03T00:00:00.000Z",
"symbol": "VTI"
},
{
@@ -31,7 +31,7 @@
"unitPrice": 57.05,
"currency": "USD",
"dataSource": "YAHOO",
- "date": "2010-01-03T22:00:00.000Z",
+ "date": "2010-01-04T00:00:00.000Z",
"symbol": "VTI"
}
]
diff --git a/test/import/ok-without-accounts.json b/test/import/ok-without-accounts.json
index 63961be744..2ba0925b16 100644
--- a/test/import/ok-without-accounts.json
+++ b/test/import/ok-without-accounts.json
@@ -11,7 +11,7 @@
"unitPrice": 0,
"currency": "USD",
"dataSource": "YAHOO",
- "date": "2050-06-05T22:00:00.000Z",
+ "date": "2050-06-06T00:00:00.000Z",
"symbol": "MSFT"
},
{
@@ -21,7 +21,7 @@
"unitPrice": 500000,
"currency": "USD",
"dataSource": "MANUAL",
- "date": "2021-12-31T22:00:00.000Z",
+ "date": "2022-01-01T00:00:00.000Z",
"symbol": "Penthouse Apartment"
},
{
@@ -31,7 +31,7 @@
"unitPrice": 0.62,
"currency": "USD",
"dataSource": "YAHOO",
- "date": "2021-11-16T22:00:00.000Z",
+ "date": "2021-11-17T00:00:00.000Z",
"symbol": "MSFT"
},
{
@@ -41,7 +41,7 @@
"unitPrice": 298.58,
"currency": "USD",
"dataSource": "YAHOO",
- "date": "2021-09-15T22:00:00.000Z",
+ "date": "2021-09-16T00:00:00.000Z",
"symbol": "MSFT"
}
]
diff --git a/test/import/ok.json b/test/import/ok.json
index 0af285500c..4bce98ba29 100644
--- a/test/import/ok.json
+++ b/test/import/ok.json
@@ -23,7 +23,7 @@
"unitPrice": 0,
"currency": "USD",
"dataSource": "YAHOO",
- "date": "2050-06-05T22:00:00.000Z",
+ "date": "2050-06-06T00:00:00.000Z",
"symbol": "US5949181045"
},
{
@@ -35,7 +35,7 @@
"unitPrice": 500000,
"currency": "USD",
"dataSource": "MANUAL",
- "date": "2021-12-31T22:00:00.000Z",
+ "date": "2022-01-01T00:00:00.000Z",
"symbol": "Penthouse Apartment"
},
{
@@ -47,7 +47,7 @@
"unitPrice": 0.62,
"currency": "USD",
"dataSource": "YAHOO",
- "date": "2021-11-16T22:00:00.000Z",
+ "date": "2021-11-17T00:00:00.000Z",
"symbol": "MSFT"
},
{
@@ -59,7 +59,7 @@
"unitPrice": 298.58,
"currency": "USD",
"dataSource": "YAHOO",
- "date": "2021-09-15T22:00:00.000Z",
+ "date": "2021-09-16T00:00:00.000Z",
"symbol": "MSFT"
},
{
@@ -71,7 +71,7 @@
"unitPrice": 0,
"currency": "USD",
"dataSource": "MANUAL",
- "date": "2021-08-31T22:00:00.000Z",
+ "date": "2021-09-01T00:00:00.000Z",
"symbol": "Account Opening Fee"
}
]
diff --git a/test/import/unavailable-exchange-rate.json b/test/import/unavailable-exchange-rate.json
index 2d21a76c31..4d8be156af 100644
--- a/test/import/unavailable-exchange-rate.json
+++ b/test/import/unavailable-exchange-rate.json
@@ -12,7 +12,7 @@
"unitPrice": 0,
"currency": "EUR",
"dataSource": "YAHOO",
- "date": "1990-01-01T22:00:00.000Z",
+ "date": "1990-01-01T00:00:00.000Z",
"symbol": "MSFT"
}
]