Daniel García Aubert
5f43db2e36
Remove POSTGIS_VERSION env variable and run test using mvt renderer always
2019-02-22 08:31:22 +01:00
Daniel García Aubert
ca7acb8339
Merge branch 'master' into use-strict
2018-10-25 11:11:30 +02:00
Daniel García Aubert
e2d27db828
Ise strict mode for moduler under test folder
2018-10-23 18:39:02 +02:00
Raul Ochoa
b13ae62d0f
Do not assert the estimated count as it seems to change over pg versions
2018-10-23 16:02:37 +00:00
Raul Ochoa
abd378e5f6
Run tests based on PostGIS version
2018-10-23 15:47:48 +00:00
Raul Ochoa
3e261fb353
Going red: fails with 400 due to "Cannot read property 'geom_type' of undefined"
2018-10-23 15:49:34 +02:00
Javier Goizueta
b8365e9f6e
Make sampling tests more stable
...
Some sample tests, which cannot use RNG seeding, are nondeterministical.
Increment size of test table used in sampling tests to make less likely that the sample is empty
2018-07-11 15:21:23 +02:00
Javier Goizueta
34a2f3b32b
Tests were missing in previous commit
2018-05-28 16:50:53 +02:00
Javier Goizueta
7041039572
Add tests for category metadata parameters
2018-05-22 13:42:29 +02:00
Javier Goizueta
befedfd80a
Use ifError to check for errors
2018-05-21 17:03:16 +02:00
Javier Goizueta
d828a92ea3
Use ifError to check for errors
2018-05-21 16:59:36 +02:00
Javier Goizueta
b8109401d1
Tests for metadata with aggregation
2018-05-13 13:05:39 +02:00
Javier Goizueta
cae4dd81c9
WIP: fix problems for aggregations & metadata
2018-05-10 19:12:47 +02:00
Javier Goizueta
f7745928ab
Fix tests
...
eliminate dependency on the order of PostgreSQL results
2018-05-09 15:42:41 +02:00
Javier Goizueta
ee7bd5fb8a
Fix tests
2018-05-09 12:42:42 +02:00
Javier Goizueta
fff5b3d85a
Revert debugging changes
2018-05-09 11:59:24 +02:00
Javier Goizueta
d706d0eb22
More travis debugging through commits
2018-05-09 11:44:49 +02:00
Javier Goizueta
9c9cfd015d
Add test for optional layer metadata
2018-05-08 20:06:14 +02:00
Mario de Frutos
440953b1cd
If we have the stats FF disbabled return empty array instead of null
...
But we keep checking for elements in the returned object because
we don't want to include the stats property if the FF is disabled
2017-05-30 10:47:47 +02:00
Mario de Frutos
44cca38538
Change to tests for layer stats because now uses CDB_EstimateRowCount fuction
2017-05-12 12:51:45 +02:00
Mario de Frutos
61f9ea6e86
Changed stats name from featureCount to estimatedFeatureCount
2017-05-11 12:47:35 +02:00
Mario de Frutos
daf19c5e27
Stats backend only provides stats not metadata
2017-05-10 17:17:01 +02:00
Mario de Frutos
7d5b6b0820
Lint changes and yarn.lock
2017-05-09 18:24:24 +02:00
Mario de Frutos
b87e442801
Remove vertex count from stats tests
2017-05-09 18:24:11 +02:00
Mario de Frutos
474d68687c
Include vertexCount in the stats tests
2017-05-09 14:47:39 +02:00
Mario de Frutos
b25540720c
Added acceptance tests for stats functionallity
2017-05-09 14:36:35 +02:00