Merge pull request #787 from naneri/patch-1

Update FeatureTestCase.php
This commit is contained in:
Denis Duliçi
2019-03-15 18:31:24 +03:00
committed by GitHub

View File

@@ -40,11 +40,11 @@ abstract class FeatureTestCase extends TestCase
{
if (!$user) {
$user = $this->user;
}
}
if (!$company) {
$company = $user->companies()->first();
}
}
$this->startSession();
@@ -61,4 +61,4 @@ abstract class FeatureTestCase extends TestCase
$this->assertEquals($excepted, $flash['level']);
}
}
}