more tests for exports

This commit is contained in:
2016-12-26 21:20:01 +01:00
parent 542874c15e
commit 991e5f5bd2
7 changed files with 170 additions and 10 deletions

View File

@@ -114,7 +114,9 @@ class CountPerson implements ExportInterface
$labels = array_combine($values, $values);
$labels['_header'] = 'Number of people';
return $labels;
return function($value) use ($labels) {
return $labels[$value];
};
}
public function getAllowedFormattersTypes()