1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:04:02 +00:00
tenancy/tests
Samuel Štancl 5d3b3d3c21
[4.x] Improve RootUrl and UrlGenerator bootstrappers (#1294)
* Make RootUrlBootstrapper run ONLY in CLI by default (add $rootUrlOverrideInTests), work with resolved UrlGenerator

* Make resolving 'url' return a pre-created generator instance instead of creating it on every app('url') call

* Take care of doubling tenant keys in TenancyUrlGenerator, add regression test for using UrlGenerator and RootUrl bootstrappers together

* Fix code style (php-cs-fixer)

* refactor RootUrlBootstrapper

* add docblock

* clarify docblock

* simplify test: use concrete values instead of overly dynamic code

* Fix bootstrapper order in test, add url('/') assertion

* Use $this->app instead of app()

* Improve TenancyUrlGenerator and RootUrlBootstrapperTest clarity

* Revert attempt to maintain compatibility between the two bootstrappers

* Delete bootstrapper combining test

* Fix code style (php-cs-fixer)

---------

Co-authored-by: lukinovec <lukinovec@gmail.com>
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2025-01-16 10:30:06 +01:00
..
Bootstrappers [4.x] Improve RootUrl and UrlGenerator bootstrappers (#1294) 2025-01-16 10:30:06 +01:00
Etc [4.x] Fix tenants:run argument parsing (#1287) 2025-01-11 12:03:09 +01:00
Features [4.x] Queue logic refactor (#1289) 2025-01-14 13:49:16 +01:00
RLS fix: no primary key on RLS views (#1280) 2024-12-31 00:02:50 +01:00
ActionTest.php categorize todos 2024-03-12 17:29:00 +01:00
AutomaticModeTest.php Misc test fixes (#44) 2024-04-06 19:17:34 +02:00
BroadcastingTest.php Improve the tests where the removed universal_channel() was still used (#64) 2024-10-11 22:50:38 +02:00
CachedTenantResolverTest.php Refactor early identification (#47) 2024-04-22 11:30:58 +02:00
CloneActionTest.php Improve early identification tests (#66) 2024-12-20 03:42:23 +01:00
CombinedDomainAndSubdomainIdentificationTest.php Fix origin id w/ empty header & using full-hostname subdomain records 2024-11-09 20:48:45 +01:00
CommandsTest.php [4.x] Fix tenants:run argument parsing (#1287) 2025-01-11 12:03:09 +01:00
DatabasePreparationTest.php add public connection() method to the Tenant DB manager interface 2022-10-25 12:53:31 +02:00
DatabaseUsersTest.php Postgres RLS + permission controlled database managers (#33) 2024-04-24 22:32:49 +02:00
DeleteDomainsJobTest.php Resolve test to-dos (#45) 2024-04-18 00:22:03 +02:00
DomainTest.php Cache prefix mode for separating tenant caches (#1014) 2023-04-24 16:25:51 +02:00
EarlyIdentificationTest.php Improve early identification tests (#66) 2024-12-20 03:42:23 +01:00
EventListenerTest.php Resource syncing rework (#30) 2024-02-10 19:08:37 +01:00
GlobalCacheTest.php Cache prefixing logic rewrite, session scoping improvements, tests refactor (#43) 2024-04-09 20:40:27 +02:00
MailTest.php Resolve test to-dos (#45) 2024-04-18 00:22:03 +02:00
MaintenanceModeTest.php Filesystem logic refactor, improved defaults for cache tenancy (#42) 2024-04-02 04:26:10 +02:00
ManualModeTest.php Postgres RLS + permission controlled database managers (#33) 2024-04-24 22:32:49 +02:00
OriginHeaderIdentificationTest.php Fix origin id w/ empty header & using full-hostname subdomain records 2024-11-09 20:48:45 +01:00
PathIdentificationTest.php Resolver refactor, path identification improvements (#41) 2024-03-28 03:18:11 +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
PreventAccessFromUnwantedDomainsTest.php Improve early identification tests (#66) 2024-12-20 03:42:23 +01:00
QueueTest.php [4.x] Queue logic refactor (#1289) 2025-01-14 13:49:16 +01:00
RequestDataIdentificationTest.php Cache prefixing logic rewrite, session scoping improvements, tests refactor (#43) 2024-04-09 20:40:27 +02:00
ResourceSyncingTest.php Delete pivot records when deleting SyncMaster using morph pivot (#46) 2024-04-22 12:18:15 +02:00
RouteMiddlewareTest.php Refactor early identification (#47) 2024-04-22 11:30:58 +02:00
ScopeSessionsTest.php Cache prefixing logic rewrite, session scoping improvements, tests refactor (#43) 2024-04-09 20:40:27 +02:00
SessionSeparationTest.php add assertion, update todos 2024-04-10 03:35:57 +02:00
SingleDatabaseTenancyTest.php Postgres RLS + permission controlled database managers (#33) 2024-04-24 22:32:49 +02:00
SingleDomainTenantTest.php Improve early identification tests (#66) 2024-12-20 03:42:23 +01:00
SubdomainTest.php Cache prefixing logic rewrite, session scoping improvements, tests refactor (#43) 2024-04-09 20:40:27 +02:00
TenantAssetTest.php Filesystem logic refactor, improved defaults for cache tenancy (#42) 2024-04-02 04:26:10 +02:00
TenantAwareCommandTest.php Refactor tests to use pest() helper 2022-07-23 01:16:50 +02:00
TenantDatabaseManagerTest.php sqlite: use WAL journal mode by default 2024-10-11 21:31:54 +02:00
TenantModelTest.php Resolve test to-dos (#45) 2024-04-18 00:22:03 +02:00
TenantUserImpersonationTest.php Add session state when impersonating tenant (#1029) 2022-12-17 02:08:03 +01:00
TestCase.php [4.x] Queue logic refactor (#1289) 2025-01-14 13:49:16 +01:00
UniversalRouteTest.php Improve early identification tests (#66) 2024-12-20 03:42:23 +01:00