File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
tests/Functional/Security/Http/Logout Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 16
16
use Symfony \Bundle \FrameworkBundle \Test \WebTestCase ;
17
17
use Symfony \Component \BrowserKit \Cookie ;
18
18
use Symfony \Component \Security \Core \Authentication \Token \UsernamePasswordToken ;
19
+ use Symfony \Component \Security \Http \Event \LogoutEvent ;
19
20
20
21
class ContextInvalidationLogoutHandlerTest extends WebTestCase
21
22
{
22
23
use MockeryPHPUnitIntegration;
23
24
24
25
public function testLogout ()
25
26
{
27
+ if (class_exists (LogoutEvent::class)) {
28
+ // @see https://github.com/symfony/symfony/pull/36243/files#r465083756
29
+ $ this ->markTestSkipped ('This test does not work with Symfony 5.1. ' );
30
+ }
31
+
26
32
$ client = static ::createClient ();
27
33
$ session = $ client ->getContainer ()->get ('session ' );
28
34
You can’t perform that action at this time.
0 commit comments