1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-05-06 18:04:03 +00:00
Commit graph

23 commits

Author SHA1 Message Date
lukinovec
42d60e9085 Make tenant log channels inherit paths from central config, improve comments 2026-04-14 14:06:51 +02:00
lukinovec
23ae15a8f1 Preserve filename from central log path in tenant context 2026-04-14 10:46:15 +02:00
lukinovec
8fda84fcee Throw exception if override closure doesn't return array 2026-04-13 14:39:42 +02:00
lukinovec
697ba6592b Correct log file cleanup 2026-04-13 14:23:39 +02:00
lukinovec
221a9950c2 Support channel overrides using dot notation 2026-04-13 14:15:27 +02:00
lukinovec
9660faf2f9 Ensure Slack throws cURL exception in test 2026-04-13 14:10:05 +02:00
lukinovec
c68b91cd43 Make tests not depend on setting the default logging channel 2026-04-13 13:54:20 +02:00
lukinovec
aedb33bb3a Clean up log files in before/afterEach 2026-04-13 12:45:53 +02:00
lukinovec
58a2447adc Use more direct assertions in the tests that assert the actual behavior, keep simpler/less direct assertions in tests that don't require direct assertions, add comments to clarify the behavior 2025-10-29 14:47:07 +01:00
lukinovec
e133c87c66 Make test priovide sufficient context for understanding the default behavior, improve test by making assertions more specific 2025-10-29 14:15:06 +01:00
lukinovec
108e0d1363 Swap closure param order, add/update comments 2025-10-29 14:12:53 +01:00
lukinovec
b36f3ce4ee Fix typo 2025-10-29 13:36:55 +01:00
lukinovec
f878aaf4e4 Improve closure overrides 2025-10-29 10:21:08 +01:00
lukinovec
c180c2c54e Use more accurate terminology 2025-07-31 16:54:08 +02:00
lukinovec
81daa9d054 Simplify test 2025-07-31 16:16:32 +02:00
lukinovec
bd44036a9f By default, only override the config if the override tenant property is set (otherwise, just skip the override and keep the default config value) 2025-07-31 15:15:33 +02:00
lukinovec
582243c53f Clarify test name 2025-07-29 13:22:02 +02:00
lukinovec
62a0e395c3 Delete redundant test, test the same logic in the one larger test 2025-07-29 13:13:31 +02:00
lukinovec
a806df063d Stop using real domains in the tests 2025-07-29 12:25:02 +02:00
lukinovec
718afd3069 Simplify the slack channel usage test 2025-07-29 12:24:06 +02:00
lukinovec
a13110c880 Test real usage with slack channel (the bootstrapper updates the webhook used by the slack channel correctly) 2025-07-29 12:19:04 +02:00
lukinovec
b80d7b3996 Test real usage with storage path-based channels 2025-07-29 11:44:32 +02:00
lukinovec
50853a3c45 Test LogTenancyBootstrapper logic (low-level tests) 2025-07-29 10:59:56 +02:00