1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 17:44:04 +00:00

Disable all features by default

This commit is contained in:
Samuel Štancl 2019-10-04 22:10:02 +02:00
parent b66574b1ab
commit 24ce8f9454
2 changed files with 7 additions and 2 deletions

View file

@ -15,6 +15,10 @@ class TenantRedirectMacroTest extends TestCase
/** @test */
public function tenant_redirect_macro_replaces_only_the_hostname()
{
config([
'tenancy.features' => ['Stancl\Tenancy\Features\TenantRedirect'],
]);
Route::get('/foobar', function () {
return 'Foo';
})->name('home');