mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +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']);
|
||||
|
Reference in New Issue
Block a user