Skip to content

Commit

Permalink
Style CI fix 🎭
Browse files Browse the repository at this point in the history
(cherry picked from commit bab2c2e)
  • Loading branch information
grimzy committed Sep 10, 2017
1 parent 11798bd commit d8ae366
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions tests/Integration/SpatialTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ protected function assertDatabaseHas($table, array $data, $connection = null)
}
}

protected function assertException($exceptionName) {
if(method_exists(parent::class, 'expectException')) {
protected function assertException($exceptionName)
{
if (method_exists(parent::class, 'expectException')) {
parent::expectException($exceptionName);
}
else {
} else {
$this->setExpectedException($exceptionName);
}
}
Expand Down
10 changes: 5 additions & 5 deletions tests/Unit/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ public function tearDown()
{
Mockery::close();
}

protected function assertException($exceptionName) {
if(method_exists(parent::class, 'expectException')) {

protected function assertException($exceptionName)
{
if (method_exists(parent::class, 'expectException')) {
parent::expectException($exceptionName);
}
else {
} else {
$this->setExpectedException($exceptionName);
}
}
Expand Down

0 comments on commit d8ae366

Please sign in to comment.