From c3bdebe3034af51409b209ca1f5a584c1dfe726e Mon Sep 17 00:00:00 2001 From: horatio Date: Fri, 24 Nov 2023 15:36:56 -0500 Subject: [PATCH] 1155 updated zola DTM link maps.nyc to gis.nyc, updated dtm link test --- app/models/map-features/lot.js | 2 +- tests/unit/models/lot-test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/map-features/lot.js b/app/models/map-features/lot.js index db210831..126bb6fd 100644 --- a/app/models/map-features/lot.js +++ b/app/models/map-features/lot.js @@ -543,7 +543,7 @@ export default class LotFragment extends MF.Fragment { @computed('bbl') get digitalTaxMapLink() { - return `http://maps.nyc.gov/taxmap/map.htm?searchType=BblSearch&featureTypeName=EVERY_BBL&featureName=${this.bbl}`; + return `http://gis.nyc.gov/taxmap/map.htm?searchType=BblSearch&featureTypeName=EVERY_BBL&featureName=${this.bbl}`; } @computed('zonemap') diff --git a/tests/unit/models/lot-test.js b/tests/unit/models/lot-test.js index e03714b4..e08236e6 100644 --- a/tests/unit/models/lot-test.js +++ b/tests/unit/models/lot-test.js @@ -62,7 +62,7 @@ module('Unit | Model | lot', function(hooks) { const model = await this.owner.lookup('service:store') .findRecord('lot', 1007650065); - assert.equal(model.properties.digitalTaxMapLink, 'http://maps.nyc.gov/taxmap/map.htm?searchType=BblSearch&featureTypeName=EVERY_BBL&featureName=1007650065'); + assert.equal(model.properties.digitalTaxMapLink, 'http://gis.nyc.gov/taxmap/map.htm?searchType=BblSearch&featureTypeName=EVERY_BBL&featureName=1007650065'); }); test('it generates correct links: Zoning Map', async function(assert) {