fix: handle access denied errors properly

This commit is contained in:
Björn Fromme
2026-08-17 16:29:58 +02:00
parent 8271a69f45
commit b5f1163e2d
8 changed files with 260 additions and 10 deletions
+2
View File
@@ -10,6 +10,7 @@ use App\BusProNet\Model\PersonalData;
use App\Entity\User;
use App\Security\BpnAuthenticator;
use App\Security\Crypt;
use App\Security\DefaultRouteResolver;
use App\Security\Role;
use App\Service\ProfileCompletenessChecker;
use Doctrine\ORM\EntityManagerInterface;
@@ -143,6 +144,7 @@ class BpnAuthenticatorTest extends TestCase
$crypt,
$completenessChecker,
$this->createMock(LoggerInterface::class),
$this->createMock(DefaultRouteResolver::class),
);
}