1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 18:14:04 +00:00
This commit is contained in:
Abrar Ahmad 2022-11-25 15:16:07 +05:00
parent c0d0dc99de
commit 4c20e30fcc
4 changed files with 13 additions and 3 deletions

View file

@ -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 () {