Daniel García Aubert
817afb13d1
Use mocha hooks to create server just before perform the test
2018-04-16 16:16:23 +02:00
Daniel García Aubert
f8d1e159f4
Please jshint
2018-03-20 11:09:05 +01:00
Daniel García Aubert
5cde325d9a
Fix ported test related to cache_buster from layergroup token
2018-03-19 13:51:03 +01:00
Daniel García Aubert
73397ab500
Typo
2018-03-16 20:04:39 +01:00
Daniel García Aubert
a7f6eafd5c
Remove unused porperties from ported server options
2018-03-16 20:04:29 +01:00
Daniel García Aubert
ed9083de24
Remove req2params middleware from ported server options
2018-03-16 20:02:18 +01:00
Daniel García Aubert
adde66bc57
Fix more ported test
2018-03-16 18:59:07 +01:00
Daniel García Aubert
fccf46c67d
Add host header to test-client (ported)
2018-03-16 18:06:31 +01:00
Daniel García Aubert
970aca1c9d
Add host header to test_client (ported)
2018-03-16 17:55:04 +01:00
Raul Marin
f9fe3ace37
Add mapnik metrics option
2018-02-06 16:07:22 +01:00
Simon Martín
21720267cf
from req.context to res.locals
2017-10-03 17:47:57 +02:00
Simon Martín
f9d87bc40f
res.locals fixing controllers
2017-10-02 12:07:35 +02:00
Simon
178b9e8563
moving layergroup-token middleware to middlewarify style
2017-09-27 16:32:49 +02:00
Simon
ac474cb253
Merge branch 'middlewarify' into layergroup-token-param
2017-09-27 16:31:08 +02:00
Raul Ochoa
2eb1c0f3e0
Remove unused import
2017-09-22 12:59:14 +00:00
Raul Ochoa
22b7828725
Layergroup Token parsing as middleware
...
Reuses LayergroupToken model from tests.
2017-09-22 12:05:40 +00:00
Daniel García Aubert
429f070372
Pass node's response object to req2params
2017-09-21 12:22:33 +02:00
Raul Ochoa
e9d925334c
Move layergroup-token to models
...
We will share it between tests and a middleware to parse the token.
2017-08-04 17:51:10 +02:00
Raul Ochoa
c372d69e98
LayergroupToken only makes sense at testing environment
2016-05-23 13:01:23 +02:00
Javier Goizueta
0a218da835
Implement an Overviews query rewriter
...
Use the Windshaft query-rewriter interface to adapt queries so
they use available overview tables.
This requires a version of Windshaft that implements the query-rewriter
interface (package.json/npm-shrinkwap.json have yet to be updated)
2016-02-04 10:26:31 +01:00
Raul Ochoa
1f757a7378
check style
2015-09-25 19:21:20 +02:00
Raul Ochoa
ebbe89cfb8
Ask for specific redis key removal
2015-09-25 19:11:48 +02:00
Raul Ochoa
486b803856
Delete redis keys using test helper
2015-09-25 19:04:59 +02:00
Raul Ochoa
7ee2649feb
Remove redis keys having in mind last updated time
2015-09-17 18:12:45 +02:00
Raul Ochoa
967ef99277
Fix jsonp tests
2015-09-17 02:06:32 +02:00
Raul Ochoa
e32ced107e
Fix all ported tests related to req2params
2015-09-16 18:09:39 +02:00
Raul Ochoa
066aff16f1
Use global for req2params number of request assert
2015-09-16 16:58:08 +02:00
Raul Ochoa
52b60a22fd
Makes all tests to run together
2015-07-15 16:09:43 +02:00
Raul Ochoa
c81048312d
Context with user
2015-07-08 15:34:46 +02:00
Raul Ochoa
7aeb54d53d
Enables multilayer ported tests
2015-07-08 12:59:49 +02:00
Raul Ochoa
d52b65470e
Ports acceptance tests from windshaft
2015-07-07 23:46:58 +02:00