mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 23:14:03 +00:00
remove deprecation test
This commit is contained in:
parent
4bdb986b96
commit
3e441e075f
1 changed files with 0 additions and 7 deletions
|
|
@ -103,13 +103,6 @@ test('random string ids are supported', function () {
|
||||||
RandomStringGenerator::$length = 8; // reset
|
RandomStringGenerator::$length = 8; // reset
|
||||||
});
|
});
|
||||||
|
|
||||||
// todo@deprecation remove this after deleting the class
|
|
||||||
test('referencing the old uuid generator throws an exception', function () {
|
|
||||||
$tenant = Tenant::create();
|
|
||||||
expect(fn() => app(\Stancl\Tenancy\UUIDGenerator::class)->generate($tenant))
|
|
||||||
->toThrow(Exception::class, 'Tenancy update note: UUIDGenerator has been renamed to Stancl\Tenancy\UniqueIdentifierGenerators\UUIDGenerator. Please update your config/tenancy.php');
|
|
||||||
});
|
|
||||||
|
|
||||||
test('custom tenant model can be used', function () {
|
test('custom tenant model can be used', function () {
|
||||||
$tenant = MyTenant::create();
|
$tenant = MyTenant::create();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue