Release 2.12 (#4609)

This commit is contained in:
Kevin Papst
2024-02-07 23:47:25 +01:00
committed by GitHub
parent 7abe787778
commit 85a16a9363
394 changed files with 1189 additions and 6735 deletions

View File

@@ -62,7 +62,7 @@ class SamlProviderTest extends TestCase
return $provider;
}
public function testFindUserHydratesUser()
public function testFindUserHydratesUser(): void
{
$user = new User();
$user->setAuth(User::AUTH_INTERNAL);
@@ -86,7 +86,7 @@ class SamlProviderTest extends TestCase
self::assertEquals('foo@example.com', $tokenUser->getEmail());
}
public function testFindUserCreatesNewUser()
public function testFindUserCreatesNewUser(): void
{
$token = new SamlLoginAttributes();
$token->setUserIdentifier('foo2@example.com');
@@ -104,7 +104,7 @@ class SamlProviderTest extends TestCase
self::assertEquals('foo@example.com', $tokenUser->getEmail());
}
public function testAuthenticateThrowsAuthenticationException()
public function testAuthenticateThrowsAuthenticationException(): void
{
$this->expectException(AuthenticationException::class);
$this->expectExceptionMessage('Failed creating or hydrating user "foo1@example.com": Missing user attribute: Email');