Skip to content

Commit 039fe6a

Browse files
committed
minor #39923 [SecurityBundle] Remove wrong test (jderusse)
This PR was merged into the 4.4 branch. Discussion ---------- [SecurityBundle] Remove wrong test | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - This tests, asserts that all links to logout are identical, which is wrong and incompatible with BREACH mitigation #39919 Commits ------- 91c360e Remove wrong test
2 parents 64398da + 91c360e commit 039fe6a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/Functional/CsrfFormLoginTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public function testFormLoginAndLogoutWithCsrfTokens($config)
3636
$logoutLinks = $crawler->selectLink('Log out')->links();
3737
$this->assertCount(2, $logoutLinks);
3838
$this->assertStringContainsString('_csrf_token=', $logoutLinks[0]->getUri());
39-
$this->assertSame($logoutLinks[0]->getUri(), $logoutLinks[1]->getUri());
4039

4140
$client->click($logoutLinks[0]);
4241

0 commit comments

Comments
 (0)