mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
rename class
This commit is contained in:
parent
e506cc84bd
commit
828d009fa8
@ -30,7 +30,7 @@ use Symfony\Component\Security\Core\Role\Role;
|
|||||||
*
|
*
|
||||||
* @author julien.fastre@champs-libres.coop
|
* @author julien.fastre@champs-libres.coop
|
||||||
*/
|
*/
|
||||||
abstract class AbstractExportTestHelper extends KernelTestCase
|
abstract class AbstractExportTest extends KernelTestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Create an instance of the report to test
|
* Create an instance of the report to test
|
||||||
@ -244,7 +244,8 @@ abstract class AbstractExportTestHelper extends KernelTestCase
|
|||||||
|
|
||||||
$this->assertContainsOnly("string", $queryKeys,
|
$this->assertContainsOnly("string", $queryKeys,
|
||||||
"test that the query keys returned by `getQueryKeys` are only strings");
|
"test that the query keys returned by `getQueryKeys` are only strings");
|
||||||
|
$this->assertGreaterThanOrEqual(1, count($queryKeys),
|
||||||
|
"test that there are at least one query key returned");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -312,7 +313,7 @@ abstract class AbstractExportTestHelper extends KernelTestCase
|
|||||||
&& call_user_func($closure, '_header') !== '_header',
|
&& call_user_func($closure, '_header') !== '_header',
|
||||||
// message
|
// message
|
||||||
sprintf("Test that the callable return by `getLabels` for key %s "
|
sprintf("Test that the callable return by `getLabels` for key %s "
|
||||||
. "is a string and not empty", $key)
|
. "can provide an header", $key)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user