Skip to content

Commit

Permalink
Merge pull request #1942 from stloyd/skip-63-broken-test
Browse files Browse the repository at this point in the history
Temporary skip broken test on Symfony 6
  • Loading branch information
stloyd committed Aug 20, 2023
2 parents 53d6e1c + 089255e commit 0c99da2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Functional/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -148,6 +149,10 @@ function ($method, $url, $options) {

public function testRequestCheckApi(): void
{
if (Kernel::MAJOR_VERSION === 6) {

Check failure on line 152 in tests/Functional/IntegrationTest.php

View workflow job for this annotation

GitHub Actions / phpstan

Strict comparison using === between 5 and 6 will always evaluate to false.
$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',
Expand Down

0 comments on commit 0c99da2

Please sign in to comment.