1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-05-06 19:44:03 +00:00

Correct config bootstrapper test comment

This commit is contained in:
lukinovec 2026-04-13 15:48:03 +02:00
parent b3d5197702
commit a247bb0b9e

View file

@ -70,7 +70,7 @@ test('BroadcastingConfigBootstrapper maps tenant properties to broadcaster crede
tenancy()->initialize($tenant1);
// Tenant's testing_key property is mapped to broadcasting.connections.testing.key config value
// Tenant's testing_key property is mapped to the current broadcasting connection key
expect(config("broadcasting.connections.{$driver}.key"))->toBe('tenant1_key');
expect(app(BroadcastManager::class)->driver()->config['key'])->toBe('tenant1_key');
// Switching to tenant context makes the currently bound Broadcaster instance use the tenant's config