mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:14:04 +00:00
Rename bootstrapper
This commit is contained in:
parent
52dabed878
commit
70051e70b3
4 changed files with 10 additions and 7 deletions
|
|
@ -6,10 +6,10 @@ use Stancl\Tenancy\Tests\Etc\Tenant;
|
|||
use Illuminate\Support\Facades\Event;
|
||||
use Stancl\Tenancy\Events\TenancyInitialized;
|
||||
use Stancl\Tenancy\Listeners\BootstrapTenancy;
|
||||
use Stancl\Tenancy\Bootstrappers\CacheTagBootstrapper;
|
||||
use Stancl\Tenancy\Bootstrappers\CacheTaggingBootstrapper;
|
||||
|
||||
beforeEach(function () {
|
||||
config(['tenancy.bootstrappers' => [CacheTagBootstrapper::class]]);
|
||||
config(['tenancy.bootstrappers' => [CacheTaggingBootstrapper::class]]);
|
||||
|
||||
Event::listen(TenancyInitialized::class, BootstrapTenancy::class);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue