From 3e441e075f0efa364f74cc81f6f3d859370e9dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Tue, 16 Apr 2024 03:14:31 +0200 Subject: [PATCH] remove deprecation test --- tests/TenantModelTest.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/TenantModelTest.php b/tests/TenantModelTest.php index 7f07a75f..67b25a78 100644 --- a/tests/TenantModelTest.php +++ b/tests/TenantModelTest.php @@ -103,13 +103,6 @@ test('random string ids are supported', function () { 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 () { $tenant = MyTenant::create();