1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 11:14:04 +00:00
tenancy/tests
lukinovec 80b1183fbf
Make clone action prefix already prefixed routes correctly (#28)
* Add regression test

* Complete prefixing test

* Delete redundant line from test

* Refactore clone action, fix prefixing logic

* Improve test name

* Improve URI string manipulation

* Refactor createNewRoute()

* Fix code style (php-cs-fixer)

* Fix PHPStan error

---------

Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2024-02-10 18:19:20 +01:00
..
Etc Give universal flag highest priority (#27) 2024-01-25 15:27:17 +01:00
Features Improve file structure (#5) 2023-08-03 17:51:53 +02:00
ActionTest.php Central routes without Route::domain(), configurable tenant/central routes by default for domain/subdomain identification, allow accessing central routes in early identification for path & request data middleware (#3) 2023-08-03 00:23:26 +02:00
AutomaticModeTest.php Add skip-failing option to the Migrate command (#945) 2023-02-01 06:55:26 +01:00
BatchTest.php Add skip-failing option to the Migrate command (#945) 2023-02-01 06:55:26 +01:00
BootstrapperTest.php Pass BroadcastManager to override closures (#23) 2023-12-20 12:23:37 +01:00
BroadcastingTest.php Fix global/central channel terminology 2023-12-13 19:11:18 +01:00
CachedTenantResolverTest.php Add identification section to config, refactor static properties 2022-10-01 20:01:18 +02:00
CacheManagerTest.php Cache prefix mode for separating tenant caches (#1014) 2023-04-24 16:25:51 +02:00
CloneActionTest.php Make clone action prefix already prefixed routes correctly (#28) 2024-02-10 18:19:20 +01:00
CombinedDomainAndSubdomainIdentificationTest.php Fix #998, centralize config used by BelongsToTenant and HasDomains 2022-11-10 16:03:13 +01:00
CommandsTest.php Add skip-failing option to the Migrate command (#945) 2023-02-01 06:55:26 +01:00
DatabasePreparationTest.php add public connection() method to the Tenant DB manager interface 2022-10-25 12:53:31 +02:00
DatabaseUsersTest.php Add permission-controlled SqlSrv database manager (#17) 2024-01-08 04:07:43 +01:00
DeleteDomainsJobTest.php Single-domain tenants (#16) 2023-11-08 11:38:26 +01:00
DomainTest.php Cache prefix mode for separating tenant caches (#1014) 2023-04-24 16:25:51 +02:00
EarlyIdentificationTest.php Give universal flag highest priority (#27) 2024-01-25 15:27:17 +01:00
EventListenerTest.php Central routes without Route::domain(), configurable tenant/central routes by default for domain/subdomain identification, allow accessing central routes in early identification for path & request data middleware (#3) 2023-08-03 00:23:26 +02:00
GlobalCacheTest.php Improve file structure (#5) 2023-08-03 17:51:53 +02:00
MailTest.php Allow mapping nested tenant properties to mail config (#20) 2023-12-18 12:42:03 +01:00
MaintenanceModeTest.php [4.x] Update commands CLI outputs (#968) 2022-10-18 19:11:57 +02:00
ManualModeTest.php Manual mode improvements (use correct event type, add new listeners) (#1013) 2022-11-25 03:09:31 +01:00
OriginHeaderIdentificationTest.php Identify tenants by the "Origin" header (#21) 2024-01-08 00:29:01 +01:00
PathIdentificationTest.php Update path identification and Fortify integration-related logic (#13) 2023-11-26 21:08:41 +01:00
PendingTenantsTest.php Improve code of pending tenants (#1025) 2022-11-29 09:31:07 +01:00
Pest.php Add skip-failing option to the Migrate command (#945) 2023-02-01 06:55:26 +01:00
PrefixCacheBootstrapperTest.php Cache prefix mode for separating tenant caches (#1014) 2023-04-24 16:25:51 +02:00
PreventAccessFromUnwantedDomainsTest.php Stop bypassing tenancy initializition when domain is central in domain ID MW (#24) 2024-01-03 23:35:49 +01:00
QueueTest.php Use randomly generated tenant key instead of 'acme' in failing test (#10) 2023-08-25 17:01:47 +02:00
RequestDataIdentificationTest.php Central routes without Route::domain(), configurable tenant/central routes by default for domain/subdomain identification, allow accessing central routes in early identification for path & request data middleware (#3) 2023-08-03 00:23:26 +02:00
ResourceSyncingTest.php Central routes without Route::domain(), configurable tenant/central routes by default for domain/subdomain identification, allow accessing central routes in early identification for path & request data middleware (#3) 2023-08-03 00:23:26 +02:00
ResourceSyncingUsingPolymorphicTest.php Update path identification and Fortify integration-related logic (#13) 2023-11-26 21:08:41 +01:00
RouteMiddlewareTest.php Central routes without Route::domain(), configurable tenant/central routes by default for domain/subdomain identification, allow accessing central routes in early identification for path & request data middleware (#3) 2023-08-03 00:23:26 +02:00
ScopeSessionsTest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00
SessionBootstrapperTest.php Add SessionTenancyBootstrapper (#2) 2022-11-20 02:32:25 +01:00
SingleDatabaseTenancyTest.php Fix #998, centralize config used by BelongsToTenant and HasDomains 2022-11-10 16:03:13 +01:00
SingleDomainTenantTest.php Single-domain tenants (#16) 2023-11-08 11:38:26 +01:00
SubdomainTest.php Early identification support (#1) 2022-11-20 02:31:37 +01:00
TenantAssetTest.php Update path identification and Fortify integration-related logic (#13) 2023-11-26 21:08:41 +01:00
TenantAwareCommandTest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00
TenantDatabaseManagerTest.php Add permission-controlled SqlSrv database manager (#17) 2024-01-08 04:07:43 +01:00
TenantModelTest.php Fix #998, centralize config used by BelongsToTenant and HasDomains 2022-11-10 16:03:13 +01:00
TenantUserImpersonationTest.php Add session state when impersonating tenant (#1029) 2022-12-17 02:08:03 +01:00
TestCase.php Update path identification and Fortify integration-related logic (#13) 2023-11-26 21:08:41 +01:00
UniversalRouteTest.php Give universal flag highest priority (#27) 2024-01-25 15:27:17 +01:00