1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 16:54:05 +00:00

remove tenant_unaware_features key and use static function

This commit is contained in:
Abrar Ahmad 2022-11-28 11:23:30 +05:00
parent 250f927d33
commit be6b2f8248
9 changed files with 35 additions and 9 deletions

View file

@ -7,9 +7,7 @@ use Stancl\Tenancy\Features\CrossDomainRedirect;
use Stancl\Tenancy\Tests\Etc\Tenant;
test('tenant redirect macro replaces only the hostname', function () {
config([
'tenancy.tenant_unaware_features' => [CrossDomainRedirect::class],
]);
// `CrossDomainRedirect` feature already enabled in config
Route::get('/foobar', function () {
return 'Foo';