1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 09:54:03 +00:00
tenancy/tests
lukinovec cb0d7e2902
Improve early identification tests (#66)
* Separate route-level domain identification test from path/request to improve readability WIP

* Get rid of confusing datasets in route-level identifcation tests

* Clean up updated tests

* Simplify early id tests

* Reduce dataset duplication

* Improve test readability, fix false positive,  polish details

* Separate early ID test from defaulting test (WIP)

* Finish improving and correcting the early identification/default route mode tests

* Make flag/default mode usage more clear by improving the docblock in DealsWithRouteContexts

* Fix PHPUnit deprecation warnings

* code review

* code review

---------

Co-authored-by: Samuel Štancl <samuel@archte.ch>
2024-12-20 03:42:23 +01:00
..
Bootstrappers Improve early identification tests (#66) 2024-12-20 03:42:23 +01:00
Etc Filesystem logic refactor, improved defaults for cache tenancy (#42) 2024-04-02 04:26:10 +02:00
Features Improve file structure (#5) 2023-08-03 17:51:53 +02:00
RLS Update specific attributes of pending tenants while they're being pulled (#59) 2024-08-28 00:41:16 +02: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
BatchTest.php Rename bootstrappers (#40) 2024-03-28 03:18:23 +01: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 Misc test fixes (#44) 2024-04-06 19:17:34 +02: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 Merge remote-tracking branch 'origin/master' into merge-public-repo-master 2024-02-10 21:55:54 +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 Postgres RLS + permission controlled database managers (#33) 2024-04-24 22:32:49 +02:00
UniversalRouteTest.php Improve early identification tests (#66) 2024-12-20 03:42:23 +01:00