Skip to content

Commit 75eb858

Browse files
committed
minor symfony#28728 [EventDispatcher] Remove template method in test case (samnela)
This PR was merged into the 2.8 branch. Discussion ---------- [EventDispatcher] Remove template method in test case | Q | A | ------------- | --- | Branch? | 2.8 <!-- see below --> | Bug fix? | no | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | no <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | no <!-- required for new features --> <!-- Write a short README entry for your feature/bugfix here (replace this comment block.) This will help people understand your PR and can be used as a start of the Doc PR. Additionally: - Bug fixes must be submitted against the lowest branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the master branch. --> Commits ------- 545a8ee [EventDispatcher] Remove template method in test case
2 parents df1dcee + 545a8ee commit 75eb858

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Component/EventDispatcher/Tests/GenericEventTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ class GenericEventTest extends TestCase
3131
*/
3232
protected function setUp()
3333
{
34-
parent::setUp();
35-
3634
$this->subject = new \stdClass();
3735
$this->event = new GenericEvent($this->subject, array('name' => 'Event'));
3836
}
@@ -44,8 +42,6 @@ protected function tearDown()
4442
{
4543
$this->subject = null;
4644
$this->event = null;
47-
48-
parent::tearDown();
4945
}
5046

5147
public function testConstruct()

0 commit comments

Comments
 (0)