mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
tests: Replace assertInternalType
with proper method.
See https://github.com/sebastianbergmann/phpunit/issues/3369
This commit is contained in:
@@ -48,7 +48,7 @@ final class TokenManagerTest extends KernelTestCase
|
||||
|
||||
$tokens = $tokenManager->generate($user, $expiration);
|
||||
|
||||
$this->assertInternalType('array', $tokens);
|
||||
$this->assertIsArray($tokens);
|
||||
$this->assertArrayHasKey('h', $tokens);
|
||||
$this->assertArrayHasKey('t', $tokens);
|
||||
$this->assertNotEmpty($tokens['h']);
|
||||
|
@@ -48,6 +48,6 @@ final class MenuComposerTest extends KernelTestCase
|
||||
|
||||
$routes = $this->menuComposer->getRoutesFor('dummy0');
|
||||
|
||||
$this->assertInternalType('array', $routes);
|
||||
$this->assertIsArray($routes);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user