Skip to content

Commit

Permalink
Reworked the setUp() method
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Dec 6, 2018
1 parent 65e8735 commit 401fc6e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ protected function setUp()
{
parent::setUp();

if (! in_array($this->getPlatform()->getName(), ['mysql'])) {
$this->markTestSkipped('Restricted to MySQL.');

if (in_array($this->getPlatform()->getName(), ['mysql'])) {
return;
}

$this->markTestSkipped('Restricted to MySQL.');
}

/**
Expand Down

0 comments on commit 401fc6e

Please sign in to comment.