Skip to content

Commit

Permalink
fix phpunit no travis check (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer authored and freekmurze committed Mar 11, 2019
1 parent b1733bf commit 2e45150
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ abstract class TestCase extends OrchestraTestCase
{
public function setUp(): void
{
$this->checkCustomRequirements();

parent::setUp();

$this->setUpDatabase();
}

protected function checkRequirements()
protected function checkCustomRequirements()
{
collect($this->getAnnotations())->filter(function ($location) {
return in_array('!Travis', Arr::get($location, 'requires', []));
Expand Down

0 comments on commit 2e45150

Please sign in to comment.