mirror of
https://github.com/archtechx/tenancy.git
synced 2026-05-07 01:24:04 +00:00
Correct config bootstrapper test comment
This commit is contained in:
parent
b3d5197702
commit
a247bb0b9e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue