1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 11:14:04 +00:00
tenancy/tests
Abrar Ahmad 627233d07a
[4.x] Don't use onDeleteCascade in the migrations (#883)
* removed `cascade` on delete for domains

* removed only `onDelete` cascade

* keep impersonation migrations unchanged

* domains set null on delete

* Update 2019_09_15_000020_create_domains_table.php

* Added DeleteDomain Job while deleting tenant.

* Update assets/TenancyServiceProvider.stub.php

Co-authored-by: Samuel Štancl <samuel@archte.ch>

* renamed class

* Update DeleteDomains.php

* onDelete restrict

* revert nullable

* removed `shouldQueue` interface

* Update TenancyServiceProvider.stub.php

* fetch and delete domains individually

* Update DeleteDomains.php

* tests for `DeleteDomains` job

Co-authored-by: Samuel Štancl <samuel@archte.ch>
2022-07-20 13:02:33 +02:00
..
Etc [4.x] Add tenant schema dump command (#807) 2022-06-01 16:12:59 +02:00
Features Allow array values for Tenant Config 2020-05-30 17:14:56 +02:00
AutomaticModeTest.php Add tenancy()->central() helper (#526) 2020-11-13 08:15:24 +01:00
BootstrapperTest.php fix path prefixing 2022-03-23 20:48:55 +01:00
CachedTenantResolverTest.php Better solution for tenant DB exception 2020-06-29 12:18:03 +02:00
CacheManagerTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
CombinedDomainAndSubdomainIdentificationTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
CommandsTest.php [4.x] Add tenant schema dump command (#807) 2022-06-01 16:12:59 +02:00
DatabasePreparationTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
DatabaseUsersTest.php Merge hotfix branch (#834) 2022-03-30 18:00:55 +02:00
DeleteDomainsJobTest.php [4.x] Don't use onDeleteCascade in the migrations (#883) 2022-07-20 13:02:33 +02:00
DomainTest.php Convert domains to lowercase, persist current domain model on resolver 2020-06-28 11:45:08 +02:00
EventListenerTest.php Terminating pipelines (#527) 2020-11-15 16:26:26 +01:00
GlobalCacheTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
MaintenanceModeTest.php [3.x] Compatibility with Laravel 9 (#802) 2022-03-08 01:50:25 +01:00
PathIdentificationTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
QueueTest.php Merge hotfix branch (#834) 2022-03-30 18:00:55 +02:00
RequestDataIdentificationTest.php Clean up global state in tests 2020-05-22 20:08:50 +02:00
ResourceSyncingTest.php Remove unnecessary typehints 2020-06-08 21:35:41 +02:00
ScopeSessionsTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
SingleDatabaseTenancyTest.php Switch to using MySQL for tests, resolve FK constraint issues 2020-06-07 10:28:55 +02:00
SubdomainTest.php Fix subdomain middleware 2020-08-01 15:07:10 +02:00
TenantAssetTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
TenantAwareCommandTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
TenantDatabaseManagerTest.php [4.x] Added support for Microsoft Sql Server (#715) 2022-06-23 13:04:53 +02:00
TenantModelTest.php Apply fixes from StyleCI 2020-07-06 12:45:10 +00:00
TenantUserImpersonationTest.php Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
TestCase.php [4.x] Added support for Microsoft Sql Server (#715) 2022-06-23 13:04:53 +02:00
UniversalRouteTest.php Apply fixes from StyleCI 2020-05-26 11:25:35 +00:00