mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-14 05:11:23 +00:00
tests: Replace assertInternalType with proper method.
See https://github.com/sebastianbergmann/phpunit/issues/3369
This commit is contained in:
@@ -151,8 +151,7 @@ abstract class AbstractExportTest extends WebTestCase
|
||||
{
|
||||
$export = $this->getExport();
|
||||
|
||||
$this->assertInternalType(
|
||||
'string',
|
||||
$this->assertIsString(
|
||||
$export->getDescription(),
|
||||
'Assert that the `getDescription` method return a string'
|
||||
);
|
||||
@@ -214,8 +213,7 @@ abstract class AbstractExportTest extends WebTestCase
|
||||
|
||||
$results = $this->getExport()->getResult($query, $data);
|
||||
|
||||
$this->assertInternalType(
|
||||
'array',
|
||||
$this->assertIsArray(
|
||||
$results,
|
||||
'assert that the returned result is an array'
|
||||
);
|
||||
@@ -271,8 +269,7 @@ abstract class AbstractExportTest extends WebTestCase
|
||||
{
|
||||
$export = $this->getExport();
|
||||
|
||||
$this->assertInternalType(
|
||||
'string',
|
||||
$this->assertIsString(
|
||||
$export->getType(),
|
||||
'Assert that the `getType` method return a string'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user