Skip to content

Commit

Permalink
Merge pull request akaunting#787 from naneri/patch-1
Browse files Browse the repository at this point in the history
Update FeatureTestCase.php
  • Loading branch information
denisdulici authored Mar 15, 2019
2 parents 0f6015d + fa880ac commit fe25634
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Feature/FeatureTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -61,4 +61,4 @@ public function assertFlashLevel($excepted)

$this->assertEquals($excepted, $flash['level']);
}
}
}

0 comments on commit fe25634

Please sign in to comment.