Skip to content

Commit

Permalink
Improve PHPUnit fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k committed Jan 28, 2021
1 parent bc80433 commit 12eff2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/ImplementationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ImplementationTest extends TestCase
{
const JS_FUNCTION_CREATE_DEPRECATION_PATTERN = '/^Nesk\\\\Rialto\\\\Data\\\\JsFunction::create\(\)/';

public function setUp(): void
protected function setUp(): void
{
parent::setUp();

Expand All @@ -24,7 +24,7 @@ public function setUp(): void
$this->fs = $this->canPopulateProperty('fs') ? new FsWithProcessDelegation : null;
}

public function tearDown(): void
protected function tearDown(): void
{
$this->fs = null;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class TestCase extends BaseTestCase
{
private $dontPopulateProperties = [];

public function setUp(): void
protected function setUp(): void
{
parent::setUp();

Expand Down

0 comments on commit 12eff2e

Please sign in to comment.