Skip to content

Commit

Permalink
Fix setUp and tearDown methods visibility (#35753)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Michot committed Dec 29, 2020
1 parent 60c3c81 commit 2c9c12c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/Cache/CacheMemcachedStoreTest.php
Expand Up @@ -11,7 +11,7 @@

class CacheMemcachedStoreTest extends TestCase
{
public function tearDown(): void
protected function tearDown(): void
{
m::close();

Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/Foundation/MaintenanceModeTest.php
Expand Up @@ -14,7 +14,7 @@
*/
class MaintenanceModeTest extends TestCase
{
public function tearDown(): void
protected function tearDown(): void
{
@unlink(storage_path('framework/down'));
}
Expand Down
2 changes: 1 addition & 1 deletion tests/View/Blade/BladeComponentTagCompilerTest.php
Expand Up @@ -13,7 +13,7 @@

class BladeComponentTagCompilerTest extends AbstractBladeTestCase
{
public function tearDown(): void
protected function tearDown(): void
{
Mockery::close();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/View/ComponentTest.php
Expand Up @@ -19,7 +19,7 @@ class ComponentTest extends TestCase
protected $viewFactory;
protected $config;

public function setUp(): void
protected function setUp(): void
{
$this->config = m::mock(Config::class);

Expand Down

0 comments on commit 2c9c12c

Please sign in to comment.