diff --git a/tests/Bootstrappers/BroadcastChannelPrefixBootstrapperTest.php b/tests/Bootstrappers/BroadcastChannelPrefixBootstrapperTest.php index 3e93cba7..352a3606 100644 --- a/tests/Bootstrappers/BroadcastChannelPrefixBootstrapperTest.php +++ b/tests/Bootstrappers/BroadcastChannelPrefixBootstrapperTest.php @@ -196,7 +196,7 @@ test('broadcasting channel helpers register channels correctly', function() { // Register a tenant broadcasting channel (almost identical to the original channel, just able to accept the tenant key) tenant_channel($channelName, $channelClosure); - // Tenant channel registered – its name is correctly prefixed ("{tenant}.user.{userId}") + // Tenant channel registered – its name is correctly prefixed ("{tenant}.user.{userName}") $tenantChannelClosure = $getChannels()->first(fn ($closure, $name) => $name === "{tenant}.$channelName"); expect($tenantChannelClosure)->toBe($centralChannelClosure); diff --git a/tests/Bootstrappers/BroadcastingConfigBootstrapperTest.php b/tests/Bootstrappers/BroadcastingConfigBootstrapperTest.php index 63295b06..418d9f6d 100644 --- a/tests/Bootstrappers/BroadcastingConfigBootstrapperTest.php +++ b/tests/Bootstrappers/BroadcastingConfigBootstrapperTest.php @@ -310,7 +310,6 @@ test('mappings specified in credentialsMap override default mapPresets', functio 'broadcasting_key' => 'custom_value', ]); - tenancy()->initialize($tenant); expect(config("broadcasting.connections.{$driver}.key"))->toBe('custom_value');