fix tests failed in exports

This commit is contained in:
2022-07-26 20:42:35 +02:00
parent 232cf96cb2
commit 3dabd031f4
3 changed files with 5 additions and 1 deletions

View File

@@ -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) {