Skip to content

Commit 1c3d3db

Browse files
committed
minor symfony#28349 Fix usage of setUp in tests (4.1) (fabpot)
This PR was merged into the 4.1 branch. Discussion ---------- Fix usage of setUp in tests (4.1) | Q | A | ------------- | --- | Branch? | 4.1 | 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 --> | License | MIT <!-- 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 ------- d8ba2cd fixed usage of setUp in tests
2 parents 525c98b + d8ba2cd commit 1c3d3db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DependencyInjection/Tests/ParameterBag/ContainerBagTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ContainerBagTest extends TestCase
2626
/** @var ContainerBag */
2727
private $containerBag;
2828

29-
public function setUp()
29+
protected function setUp()
3030
{
3131
$this->parameterBag = new ParameterBag(array('foo' => 'value'));
3232
$this->containerBag = new ContainerBag(new Container($this->parameterBag));

0 commit comments

Comments
 (0)