From c9db4b640af24acc76a671bc4a244f3dd6e44b11 Mon Sep 17 00:00:00 2001 From: zzhhaa Date: Thu, 5 Dec 2024 14:10:25 +0000 Subject: [PATCH] test: update tests with new landToTotalRatio param --- app/models/tenure/FairholdLandRent.test.ts | 3 +-- app/models/tenure/MarketRent.test.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/models/tenure/FairholdLandRent.test.ts b/app/models/tenure/FairholdLandRent.test.ts index a65af4dc..f3a1b451 100644 --- a/app/models/tenure/FairholdLandRent.test.ts +++ b/app/models/tenure/FairholdLandRent.test.ts @@ -18,10 +18,9 @@ beforeEach(() => { tenureFairholdLandRent = new FairholdLandRent({ averageRentYearly: 20000, incomeYearly: 45816, - averagePrice: 218091.58, newBuildPrice: 186560, depreciatedBuildPrice: 110717.45, - landPrice: 31531.579, + landToTotalRatio: 0.1446, ...DEFAULT_FORECAST_PARAMETERS, fairhold: new Fairhold({ affordability: 0.2, diff --git a/app/models/tenure/MarketRent.test.ts b/app/models/tenure/MarketRent.test.ts index 41869a9d..399aed8e 100644 --- a/app/models/tenure/MarketRent.test.ts +++ b/app/models/tenure/MarketRent.test.ts @@ -11,10 +11,9 @@ beforeEach(() => { tenureMarketRent = new MarketRent({ averageRentYearly: 20000, incomeYearly: 45816, - averagePrice: 218091.58, newBuildPrice: 186560, depreciatedBuildPrice: 110717.45, - landPrice: 31531.579, + landToTotalRatio: 0.1446, forecastParameters: forecastParameters, }); });