Skip to content

Commit

Permalink
adds to test config to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrothwell committed Nov 21, 2019
1 parent b779ccb commit 1174196
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions test/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const config = {
parcels: {
pwd: {
multipleAllowed: false,
mapregStuff: false,
geocodeFailAttemptParcel: null,
clearStateOnError: false,
wipeOutOtherParcelsOnReverseGeocodeOnly: true,
Expand All @@ -40,6 +41,7 @@ const config = {
},
dor: {
multipleAllowed: true,
mapregStuff: true,
geocodeFailAttemptParcel: 'pwd',
clearStateOnError: true,
wipeOutOtherParcelsOnReverseGeocodeOnly: false,
Expand Down Expand Up @@ -68,11 +70,13 @@ const config = {
url: 'https://phl.carto.com/api/v2/sql',
options: {
params: {
q: function(feature){ return "select * from li_permits where address = '" + feature.properties.street_address + "' or addresskey = '" + feature.properties.li_address_key.toString() + "'"},
}
}
q: function(feature){
return "select * from li_permits where address = '" + feature.properties.street_address + "' or addresskey = '" + feature.properties.li_address_key.toString() + "'";
},
},
},
},
}
}
},
};

export default config;

0 comments on commit 1174196

Please sign in to comment.