Skip to content

Commit 2940b7d

Browse files
committed
fixed PHPUnit setUp and tearDown method visibility
1 parent ba469b7 commit 2940b7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/CacheWarmer/TemplatePathsCacheWarmerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class TemplatePathsCacheWarmerTest extends TestCase
3535

3636
private $tmpDir;
3737

38-
public function setUp()
38+
protected function setUp()
3939
{
4040
$this->templateFinder = $this
4141
->getMockBuilder(TemplateFinderInterface::class)
@@ -56,7 +56,7 @@ public function setUp()
5656
$this->filesystem->mkdir($this->tmpDir);
5757
}
5858

59-
public function tearDown()
59+
protected function tearDown()
6060
{
6161
$this->filesystem->remove($this->tmpDir);
6262
}

0 commit comments

Comments
 (0)