Update FeatureTestCase.php
Fixed the formatting, so the function looks more clear
This commit is contained in:
@@ -40,11 +40,11 @@ abstract class FeatureTestCase extends TestCase
|
|||||||
{
|
{
|
||||||
if (!$user) {
|
if (!$user) {
|
||||||
$user = $this->user;
|
$user = $this->user;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$company) {
|
if (!$company) {
|
||||||
$company = $user->companies()->first();
|
$company = $user->companies()->first();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->startSession();
|
$this->startSession();
|
||||||
|
|
||||||
@@ -61,4 +61,4 @@ abstract class FeatureTestCase extends TestCase
|
|||||||
|
|
||||||
$this->assertEquals($excepted, $flash['level']);
|
$this->assertEquals($excepted, $flash['level']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user