mirror of
https://github.com/archtechx/tenancy.git
synced 2026-08-06 08:54:03 +00:00
Delete extra newline, fix comment inconsistency
Use "userName" in the channel helper test's comment for consistency (the channel name uses "userName", the comment used "userId", fixed that)
This commit is contained in:
parent
d80fed1468
commit
af14d403c5
2 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue