mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
Symfony 5.4 - Update Deprecated Security Code
This commit is contained in:
parent
9f313bfb25
commit
32ccadbd89
4 changed files with 34 additions and 31 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
namespace App\Tests\unit\core\src\Security;
|
||||
|
||||
use App\Security\LegacySessionLogoutHandler;
|
||||
use App\Security\LegacySessionLogoutListener;
|
||||
use App\Tests\UnitTester;
|
||||
use AspectMock\Test;
|
||||
use AuthenticationController;
|
||||
|
@ -40,13 +40,13 @@ use Symfony\Component\HttpFoundation\Response;
|
|||
use Symfony\Component\HttpFoundation\Session\Session;
|
||||
use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage;
|
||||
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
||||
use Symfony\Component\Security\Http\Logout\SessionLogoutHandler;
|
||||
use Symfony\Component\Security\Http\Logout\SessionLogoutListener;
|
||||
|
||||
/**
|
||||
* Class LegacySessionLogoutHandlerTest
|
||||
* Class LegacySessionLogoutListenerTest
|
||||
* @package App\Tests\unit\core\src\Security
|
||||
*/
|
||||
class LegacySessionLogoutHandlerTest extends Unit
|
||||
class LegacySessionLogoutListenerTest extends Unit
|
||||
{
|
||||
/**
|
||||
* @var UnitTester
|
||||
|
@ -54,7 +54,7 @@ class LegacySessionLogoutHandlerTest extends Unit
|
|||
protected $tester;
|
||||
|
||||
/**
|
||||
* @var LegacySessionLogoutHandler
|
||||
* @var LegacySessionLogoutListener
|
||||
*/
|
||||
protected $handler;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue