8000 minor #28347 Fix usage of setUp in tests (fabpot) · sroze/symfony@26b173b · GitHub
[go: up one dir, main page]

Skip to content

Commit 26b173b

Browse files
committed
minor symfony#28347 Fix usage of setUp in tests (fabpot)
This PR was merged into the 2.8 branch. Discussion ---------- Fix usage of setUp in tests | Q | A | ------------- | --- | Branch? | 2.8 | 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 ------- 62e6208 fixed usage of setUp in tests
2 parents f9bd8ac + 62e6208 commit 26b173b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Security/Csrf/Tests/CsrfTokenManagerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,12 @@ private function getGeneratorAndStorage()
210210
);
211211
}
212212

213-
public function setUp()
213+
protected function setUp()
214214
{
215215
$_SERVER['HTTPS'] = 'on';
216216
}
217217

218-
public function tearDown()
218+
protected function tearDown()
219219
{
220220
parent::tearDown();
221221

0 commit comments

Comments
 (0)
0