mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
fixes on tests
This commit is contained in:
@@ -247,7 +247,7 @@ final class AuthorizationHelperTest extends KernelTestCase
|
||||
$expectedResult,
|
||||
Scope $testedScope,
|
||||
User $user,
|
||||
Role $role,
|
||||
string $role,
|
||||
Center $center,
|
||||
$message
|
||||
) {
|
||||
|
@@ -88,7 +88,7 @@ final class TokenManagerTest extends KernelTestCase
|
||||
$this->assertFalse($tokenManager->verify($hash . '5', $token, $user, $timestamp));
|
||||
$this->assertFalse($tokenManager->verify($hash, $token . '25', $user, $timestamp));
|
||||
$this->assertFalse($tokenManager->verify($hash, $token, $user->setUsernameCanonical('test2'), $timestamp));
|
||||
$this->assertFalse($tokenManager->verify($hash, $token, $user, $timestamp + 1));
|
||||
$this->assertFalse($tokenManager->verify($hash, $token, $user, (string) ($timestamp + 1)));
|
||||
}
|
||||
|
||||
public function testVerifyExpiredFails()
|
||||
|
Reference in New Issue
Block a user