Skip to content

Commit

Permalink
1155 updated zola DTM link maps.nyc to gis.nyc, updated dtm link test
Browse files Browse the repository at this point in the history
  • Loading branch information
horatiorosa committed Nov 24, 2023
1 parent 977fb40 commit c3bdebe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/map-features/lot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/models/lot-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c3bdebe

Please sign in to comment.