added admin/portal/signed route macros

This commit is contained in:
Denis Duliçi
2021-04-17 01:29:18 +03:00
parent 2b07442260
commit 231f45c262
7 changed files with 92 additions and 25 deletions

View File

@ -27,8 +27,6 @@ abstract class FeatureTestCase extends TestCase
// Disable debugbar
config(['debugbar.enabled', false]);
app('url')->defaults(['company_id' => $this->company->id]);
}
/**
@ -46,10 +44,10 @@ abstract class FeatureTestCase extends TestCase
if ($company) {
$company->makeCurrent();
app('url')->defaults(['company_id' => $company->id]);
}
app('url')->defaults(['company_id' => company_id()]);
return $this->actingAs($user);
}