From 089255ebde2dfe425a89fc94eb968b2460c67f00 Mon Sep 17 00:00:00 2001 From: Joseph Bielawski Date: Sun, 20 Aug 2023 18:16:41 +0200 Subject: [PATCH] Temporary skip broken test on Symfony 6 --- tests/Functional/IntegrationTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/Functional/IntegrationTest.php b/tests/Functional/IntegrationTest.php index c9aadf0f0..c6c63b1e2 100644 --- a/tests/Functional/IntegrationTest.php +++ b/tests/Functional/IntegrationTest.php @@ -19,6 +19,7 @@ use Symfony\Component\HttpClient\MockHttpClient; use Symfony\Component\HttpClient\Response\MockResponse; use Symfony\Component\HttpFoundation\Response; +use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Security\Http\SecurityEvents; final class IntegrationTest extends WebTestCase @@ -148,6 +149,10 @@ function ($method, $url, $options) { public function testRequestCheckApi(): void { + if (Kernel::MAJOR_VERSION === 6) { + $this->markTestSkipped('Skipped due to bug in Symfony Security component: https://github.com/symfony/symfony/issues/51319'); + } + $redirectLoginFromService = 'http://localhost/api/check-login/google?' .http_build_query([ 'code' => 'sOmeRand0m-code',