diff --git a/test/acceptance/analysis/analyses-filters-params.js b/test/acceptance/analysis/analyses-filters-params.js index 04b12d4e..52861a3a 100644 --- a/test/acceptance/analysis/analyses-filters-params.js +++ b/test/acceptance/analysis/analyses-filters-params.js @@ -72,8 +72,7 @@ describe('analysis-filters-params', () => { max: 2e6 } } - }, - no_filters: 1 + } }; diff --git a/test/support/test-client.js b/test/support/test-client.js index 3188d0fc..c56946cd 100644 --- a/test/support/test-client.js +++ b/test/support/test-client.js @@ -411,9 +411,12 @@ TestClient.prototype.getDataview = function(dataviewName, params, callback) { self.keysToDelete['map_cfg|' + LayergroupToken.parse(layergroupId).token] = 0; self.keysToDelete['user:localhost:mapviews:global'] = 5; - var urlParams = { - own_filter: params.hasOwnProperty('own_filter') ? params.own_filter : 1 - }; + var urlParams = {}; + if (params.hasOwnProperty('no_filters')) { + urlParams.no_filters = params.no_filters; + } else { + urlParams.own_filter = params.hasOwnProperty('own_filter') ? params.own_filter : 1 + } ['bbox', 'bins', 'start', 'end', 'aggregation', 'offset', 'categories'].forEach(function(extraParam) { if (params.hasOwnProperty(extraParam)) {