Skip to content

Commit 2c000bb

Browse files
committed
minor #58374 Remove useless parent method calls in tests (alexandre-daubois)
This PR was merged into the 7.2 branch. Discussion ---------- Remove useless parent method calls in tests | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT The vast majority of tests don't call these parent methods, because they are no op. There are a few places where they are called, let's remove them? Commits ------- b54596f604 Remove useless parent method calls in tests
2 parents d862520 + b7db27c commit 2c000bb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Tests/CsrfTokenManagerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,6 @@ protected function setUp(): void
546546

547547
protected function tearDown(): void
548548
{
549-
parent::tearDown();
550-
551549
unset($_SERVER['HTTPS']);
552550
}
553551
}

0 commit comments

Comments
 (0)