mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix tests failed in exports
This commit is contained in:
parent
232cf96cb2
commit
3dabd031f4
@ -166,6 +166,7 @@ abstract class AbstractAggregatorTest extends KernelTestCase
|
||||
$this->assertContainsOnly(
|
||||
'string',
|
||||
$queryKeys,
|
||||
true,
|
||||
'test that the query keys returned by `getQueryKeys` are only strings'
|
||||
);
|
||||
$this->assertGreaterThanOrEqual(
|
||||
|
@ -140,6 +140,7 @@ abstract class AbstractExportTest extends WebTestCase
|
||||
$this->assertContainsOnly(
|
||||
'string',
|
||||
$formattersTypes,
|
||||
true,
|
||||
'Test that the method `getAllowedFormattersTypes` returns an array of string'
|
||||
);
|
||||
}
|
||||
@ -174,6 +175,7 @@ abstract class AbstractExportTest extends WebTestCase
|
||||
$this->assertContainsOnly(
|
||||
'string',
|
||||
$queryKeys,
|
||||
true,
|
||||
'test that the query keys returned by `getQueryKeys` are only strings'
|
||||
);
|
||||
$this->assertGreaterThanOrEqual(
|
||||
@ -395,6 +397,7 @@ abstract class AbstractExportTest extends WebTestCase
|
||||
$this->assertContainsOnly(
|
||||
'string',
|
||||
$export->supportsModifiers(),
|
||||
true,
|
||||
'Test that the `supportsModifiers` method returns only strings'
|
||||
);
|
||||
} elseif ($query instanceof NativeQuery) {
|
||||
|
@ -30,7 +30,7 @@ final class CountPersonTest extends AbstractExportTest
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
$this->export = self::$container->get('chill.person.export.export_count_person');
|
||||
$this->export = self::$container->get('chill.person.export.count_person');
|
||||
}
|
||||
|
||||
public function getExport()
|
||||
|
Loading…
x
Reference in New Issue
Block a user