mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update AuthenticationHandler to make session parameter optional and add validation for empty session tokens. Update error message in PresenceRealtimeClientTest for clarity.
This commit is contained in:
@@ -382,7 +382,7 @@ class PresenceRealtimeClientTest extends Scope
|
||||
],
|
||||
]));
|
||||
$missingStatus = $this->receiveErrorMessage($client);
|
||||
$this->assertStringContainsString('status must be provided', $missingStatus['data']['message'] ?? '');
|
||||
$this->assertStringContainsString('status is required', $missingStatus['data']['message'] ?? '');
|
||||
$this->assertQuietFor(
|
||||
$client,
|
||||
fn (array $frame): bool => ($frame['type'] ?? null) === 'event'
|
||||
|
||||
Reference in New Issue
Block a user