mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
[export] fix data type from form: either collection or array
This commit is contained in:
@@ -52,6 +52,7 @@ final class SocialIssueFilterTest extends AbstractFilterTest
|
||||
->getResult();
|
||||
|
||||
yield ['accepted_socialissues' => new ArrayCollection($array)];
|
||||
yield ['accepted_socialissues' => $array];
|
||||
}
|
||||
|
||||
public function getQueryBuilders(): array
|
||||
|
@@ -52,6 +52,11 @@ final class UserJobFilterTest extends AbstractFilterTest
|
||||
'jobs' => new ArrayCollection($jobs),
|
||||
'date_calc' => new RollingDate(RollingDate::T_TODAY),
|
||||
];
|
||||
|
||||
yield [
|
||||
'jobs' => $jobs,
|
||||
'date_calc' => new RollingDate(RollingDate::T_TODAY),
|
||||
];
|
||||
}
|
||||
|
||||
public function getQueryBuilders(): array
|
||||
|
@@ -53,6 +53,10 @@ final class UserScopeFilterTest extends AbstractFilterTest
|
||||
'date_calc' => new RollingDate(RollingDate::T_TODAY),
|
||||
'scopes' => new ArrayCollection($scopes),
|
||||
],
|
||||
[
|
||||
'date_calc' => new RollingDate(RollingDate::T_TODAY),
|
||||
'scopes' => $scopes,
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user