Fixed tests

This commit is contained in:
Jan Böhmer 2023-06-11 13:42:45 +02:00
parent b7573a40d7
commit 8c430a3af0
2 changed files with 2 additions and 3 deletions

View file

@ -222,7 +222,7 @@ class User extends AttachmentContainingDBElement implements UserInterface, HasPe
*/
#[Groups(['full'])]
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::DATETIME_MUTABLE, nullable: true)]
protected ?\DateTimeInterface $backupCodesGenerationDate;
protected ?\DateTimeInterface $backupCodesGenerationDate = null;
/** @var Collection<int, LegacyU2FKeyInterface>
*/

View file

@ -21,10 +21,9 @@
namespace App\Security;
use App\Entity\UserSystem\User;
use Hslavich\OneloginSamlBundle\Security\Http\Authenticator\Token\SamlToken;
use Nbgrp\OneloginSamlBundle\Security\Http\Authenticator\Token\SamlToken;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\Security\Core\Event\AuthenticationSuccessEvent;
use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Core\Exception\CustomUserMessageAccountStatusException;
use Symfony\Contracts\Translation\TranslatorInterface;