Reviewed all tests for Travis
This commit is contained in:
@ -27,6 +27,11 @@ abstract class FeatureTestCase extends TestCase
|
||||
$this->faker = Factory::create();
|
||||
$this->user = User::first();
|
||||
$this->company = $this->user->first()->companies()->first();
|
||||
|
||||
// Set Company settings
|
||||
setting()->forgetAll();
|
||||
setting()->setExtraColumns(['company_id' => $this->company->id]);
|
||||
setting()->load(true);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -44,7 +49,7 @@ abstract class FeatureTestCase extends TestCase
|
||||
|
||||
if (!$company) {
|
||||
$company = $user->companies()->first();
|
||||
}
|
||||
}
|
||||
|
||||
$this->startSession();
|
||||
|
||||
|
Reference in New Issue
Block a user