From 50317bf3f2506d0cc63cb3a059c2589a7d5a4997 Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Wed, 30 Jun 2021 21:46:59 +0200 Subject: [PATCH] Fix tests --- apps/api/src/models/portfolio.spec.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/api/src/models/portfolio.spec.ts b/apps/api/src/models/portfolio.spec.ts index 5cd50d8ff..0a2bf42b1 100644 --- a/apps/api/src/models/portfolio.spec.ts +++ b/apps/api/src/models/portfolio.spec.ts @@ -188,6 +188,7 @@ describe('Portfolio', () => { fee: 0, date: new Date(), id: '8d999347-dee2-46ee-88e1-26b344e71fcc', + isDraft: false, quantity: 1, symbol: 'BTCUSD', symbolProfileId: null, @@ -291,6 +292,7 @@ describe('Portfolio', () => { fee: 0, date: new Date(getUtc('2018-01-05')), id: '4a5a5c6e-659d-45cc-9fd4-fd6c873b50fb', + isDraft: false, quantity: 0.2, symbol: 'ETHUSD', symbolProfileId: null, @@ -388,6 +390,7 @@ describe('Portfolio', () => { fee: 0, date: new Date(getUtc('2018-01-05')), id: '4a5a5c6e-659d-45cc-9fd4-fd6c873b50fb', + isDraft: false, quantity: 0.2, symbol: 'ETHUSD', symbolProfileId: null, @@ -405,6 +408,7 @@ describe('Portfolio', () => { fee: 0, date: new Date(getUtc('2018-01-28')), id: '4a5a5c6e-659d-45cc-9fd4-fd6c873b50fc', + isDraft: false, quantity: 0.3, symbol: 'ETHUSD', symbolProfileId: null, @@ -466,6 +470,7 @@ describe('Portfolio', () => { date: new Date(getUtc('2017-08-16')), fee: 2.99, id: 'd96795b2-6ae6-420e-aa21-fabe5e45d475', + isDraft: false, quantity: 0.05614682, symbol: 'BTCUSD', symbolProfileId: null, @@ -483,6 +488,7 @@ describe('Portfolio', () => { fee: 2.99, date: new Date(getUtc('2018-01-05')), id: '4a5a5c6e-659d-45cc-9fd4-fd6c873b50fb', + isDraft: false, quantity: 0.2, symbol: 'ETHUSD', symbolProfileId: null, @@ -557,6 +563,7 @@ describe('Portfolio', () => { fee: 1.0, date: new Date(getUtc('2018-01-05')), id: '4a5a5c6e-659d-45cc-9fd4-fd6c873b50fb', + isDraft: false, quantity: 0.2, symbol: 'ETHUSD', symbolProfileId: null, @@ -574,6 +581,7 @@ describe('Portfolio', () => { fee: 1.0, date: new Date(getUtc('2018-01-28')), id: '4a5a5c6e-659d-45cc-9fd4-fd6c873b50fc', + isDraft: false, quantity: 0.1, symbol: 'ETHUSD', symbolProfileId: null, @@ -591,6 +599,7 @@ describe('Portfolio', () => { fee: 1.0, date: new Date(getUtc('2018-01-31')), id: '4a5a5c6e-659d-45cc-9fd4-fd6c873b50fc', + isDraft: false, quantity: 0.2, symbol: 'ETHUSD', symbolProfileId: null,