rename class

This commit is contained in:
Julien Fastré 2017-01-09 20:03:50 +01:00
parent e506cc84bd
commit 828d009fa8

View File

@ -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)
); );
} }