From 8276f3b0083d59c0a31c41cb17c2261196ad66be Mon Sep 17 00:00:00 2001 From: lukinovec Date: Tue, 21 Apr 2026 12:03:11 +0200 Subject: [PATCH] Improve comments in tests --- tests/Bootstrappers/LogTenancyBootstrapperTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Bootstrappers/LogTenancyBootstrapperTest.php b/tests/Bootstrappers/LogTenancyBootstrapperTest.php index 65d64180..e90ad060 100644 --- a/tests/Bootstrappers/LogTenancyBootstrapperTest.php +++ b/tests/Bootstrappers/LogTenancyBootstrapperTest.php @@ -96,7 +96,8 @@ test('all channels included in the log stack get processed correctly', function // By default, both paths are the same in the config. // Note that in actual usage, the daily log file name is parsed differently from the path in the config, - // but the paths *in the config* are the same. + // e.g. if daily channel has 'path' => storage_path('logs/laravel.log') in config, the log will be + // located at storage_path('logs/laravel-2026-01-01.log'). But the paths *in the config* are the same. expect($centralLogPath) ->toBe($centralStoragePath . '/logs/laravel.log') ->toBe($originalSinglePath) @@ -161,7 +162,7 @@ test('channel overrides work correctly with both arrays and closures', function // After tenancy ends, the original config should be restored expect(config('logging.channels.slack.url'))->toBe($originalSlackUrl); expect(config('logging.channels.single.path'))->toBe($originalSinglePath); - expect(config('logging.channels.slack.username'))->toBe('Default'); // Not changed at all + expect(config('logging.channels.slack.username'))->toBe('Default'); // Unchanged }); test('channel config keys remain unchanged if the specified tenant override attribute is null', function() {