Skip to content

Commit

Permalink
bug #152 Make ApiTestCase::tearDown protected (emodric)
Browse files Browse the repository at this point in the history
This PR was merged into the 5.0-dev branch.

Discussion
----------

| Q               | A
| --------------- | ---
| Bug fix?        | yes?
| New feature?    | no
| BC breaks?      | no
| Related tickets | N/A
| License         | MIT

PHPUnit `TestCase::tearDown` is protected itself, so makes sense for this one to be too.

Commits
-------

6a1a432 Make ApiTestCase::tearDown protected
  • Loading branch information
lchrusciel authored Apr 4, 2019
2 parents 8d4322e + 6a1a432 commit 4609702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ApiTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function setUpDatabase()
}
}

public function tearDown(): void
protected function tearDown(): void
{
if (null !== $this->client &&
null !== $this->client->getContainer() &&
Expand Down

0 comments on commit 4609702

Please sign in to comment.