mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 21:14:03 +00:00
Add Laravel 12 support, drop Laravel 11 support
This commit is contained in:
parent
657e165cc8
commit
4790a3e999
46 changed files with 63 additions and 21 deletions
|
|
@ -12,8 +12,8 @@ use Stancl\Tenancy\Resolvers\DomainTenantResolver;
|
|||
use Illuminate\Support\Facades\Route as RouteFacade;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Stancl\Tenancy\Middleware\InitializeTenancyByPath;
|
||||
use Stancl\Tenancy\PathIdentificationManager;
|
||||
use Stancl\Tenancy\Resolvers\RequestDataTenantResolver;
|
||||
use function Stancl\Tenancy\Tests\pest;
|
||||
|
||||
test('tenants can be resolved using cached resolvers', function (string $resolver) {
|
||||
$tenant = Tenant::create(['id' => $tenantKey = 'acme']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue