Skip to content

Commit 61c438e

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 e3f3cd6 + ef2df58 commit 61c438e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Tests/Caster/DateCasterTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,11 @@ class DateCasterTest extends TestCase
2929

3030
protected function setUp(): void
3131
{
32-
parent::setUp();
33-
3432
$this->previousTimezone = date_default_timezone_get();
3533
}
3634

3735
protected function tearDown(): void
3836
{
39-
parent::tearDown();
40-
4137
date_default_timezone_set($this->previousTimezone);
4238
}
4339

0 commit comments

Comments
 (0)