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:
parent
250f927d33
commit
be6b2f8248
9 changed files with 35 additions and 9 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue