diff --git a/tests/Feature/FeatureTestCase.php b/tests/Feature/FeatureTestCase.php index 9b6eaa3094..51a782b8d8 100644 --- a/tests/Feature/FeatureTestCase.php +++ b/tests/Feature/FeatureTestCase.php @@ -40,11 +40,11 @@ public function loginAs(User $user = null, Company $company = null) { if (!$user) { $user = $this->user; - } + } if (!$company) { $company = $user->companies()->first(); - } + } $this->startSession(); @@ -61,4 +61,4 @@ public function assertFlashLevel($excepted) $this->assertEquals($excepted, $flash['level']); } -} \ No newline at end of file +}