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

Delete setting tenancy.features in getPackageProviders()

This commit is contained in:
lukinovec 2023-02-20 15:39:51 +01:00
parent 654a988af1
commit 92a464520f

View file

@ -8,7 +8,6 @@ use Dotenv\Dotenv;
use Illuminate\Foundation\Application;
use Illuminate\Support\Facades\Redis;
use PDO;
use Stancl\Tenancy\Bootstrappers\BatchTenancyBootstrapper;
use Stancl\Tenancy\Bootstrappers\RedisTenancyBootstrapper;
use Stancl\Tenancy\Facades\GlobalCache;
use Stancl\Tenancy\Facades\Tenancy;
@ -118,8 +117,6 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
protected function getPackageProviders($app)
{
config()->set('tenancy.features', [CrossDomainRedirect::class]); // todo (Samuel) use proper approach to enable feature in right place
return [
TenancyServiceProvider::class,
];