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

@@ -87,6 +87,11 @@ class GenderFilter implements FilterInterface
public function describeAction($data, $format = 'string')
{
switch($data['accepted_genders']) {
case Person::MALE_GENDER:
return 'Filtering by gender: male only';
case Person::FEMALE_GENDER:
return array('Filtering by gender: female only');
}
}
}