a3e6b625b5
fix missing count statement
2018-04-04 17:23:25 +02:00
7b4c728523
fix countable in php 7.2
...
in PHP 7.2, count does not allow null value or not countable object. This commit
adapt the use of count to the nature of the object
2018-04-04 17:00:57 +02:00
c593c153a1
fix error on exports test
...
Since php 7.2, the count function does not accept NULL values. This led to error if
the WHERE clause of query where empty.
2018-04-04 15:47:18 +02:00
f5b37f7e40
add PrepareClientTrait and add test in Export
...
- the trait `PrepareClientTrait` allow to prepare an authenticated client usable in tests
- a new test is added in `AbstractExportTest`, which check that the page '/fr/exports/' is
still successfull and contains the translated title of the export
2017-07-12 12:41:19 +02:00
43047c5008
add test - test that getQueryKeys returns an array
2017-01-17 12:19:03 +01:00
d90248349d
fix invalid test on expected return by getDescriptionAction
2017-01-12 17:45:56 +01:00
b5737f4801
clone query builder to avoid to run test on altered queries
...
if the instance is not cloned, the queryBuilder is used multiple times, and the
second test is run on an already altered test.
2017-01-09 21:12:48 +01:00
7c57dd3661
add abstract test for aggregators
2017-01-09 20:17:58 +01:00
828d009fa8
rename class
2017-01-09 20:03:50 +01:00
e506cc84bd
creating abstract filter test
2016-12-26 21:18:17 +01:00
45342fcde3
move export test helper to new namespace
2016-12-26 21:15:29 +01:00
e19868e595
ExportInterface::getLabels should return a closure
2016-12-23 15:25:21 +01:00