mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 18:14:04 +00:00
wip
This commit is contained in:
parent
c0d0dc99de
commit
4c20e30fcc
4 changed files with 13 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ use Stancl\Tenancy\Tests\Etc\Tenant;
|
|||
|
||||
test('tenant redirect macro replaces only the hostname', function () {
|
||||
config([
|
||||
'tenancy.features' => [CrossDomainRedirect::class],
|
||||
'tenancy.tenant_unaware_features' => [CrossDomainRedirect::class],
|
||||
]);
|
||||
|
||||
Route::get('/foobar', function () {
|
||||
|
|
@ -37,7 +37,7 @@ test('tenant route helper generates correct url', function () {
|
|||
|
||||
test('redirect from central to tenant works fine', function () {
|
||||
config([
|
||||
'tenancy.features' => [CrossDomainRedirect::class],
|
||||
'tenancy.tenant_unaware_features' => [CrossDomainRedirect::class],
|
||||
]);
|
||||
|
||||
Route::get('/foobar', function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue