f2b7c7d5ed
minor test improvements
...
the main change here is adding similar assertions related to
*re-resolving* channels to the 'stack channels that include any
configured channel are re-resolved' test, similar to the 'channels are
forgotten and re-resolved during bootstrap and revert' test
2026-07-03 20:18:47 -07:00
lukinovec
a6ce0e2b88
Test that ending tenancy forgets the stack channels properly
2026-06-29 18:01:14 +02:00
lukinovec
68e6fd6c02
Re-resolve all stack channels that include any of the configured channels
...
Reverting the LogTenancyBootstrapper changes will make the new "stack channels that include any configured channel are re-resolved" test fali
2026-06-29 17:51:35 +02:00
lukinovec
6e474aca80
Improve comments, test reverting on failure during configuration
2026-04-21 12:25:44 +02:00
lukinovec
8276f3b008
Improve comments in tests
2026-04-21 12:03:11 +02:00
lukinovec
c5683d8e00
Extract cleanup in test file
2026-04-21 12:02:52 +02:00
lukinovec
2f60e7672e
Clean up nested log files created by tests
2026-04-14 14:40:00 +02:00
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