Skip to content

Commit aa8f5d3

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 f8fa48d + f98b595 commit aa8f5d3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Tests/IntlTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,11 @@ class IntlTest extends TestCase
2020

2121
protected function setUp(): void
2222
{
23-
parent::setUp();
24-
2523
$this->defaultLocale = \Locale::getDefault();
2624
}
2725

2826
protected function tearDown(): void
2927
{
30-
parent::tearDown();
31-
3228
\Locale::setDefault($this->defaultLocale);
3329
}
3430

0 commit comments

Comments
 (0)