Skip to content

Commit 31207cc

Browse files
committed
test: extend session id provider coverage
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 9f328cb commit 31207cc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/php/Unit/Service/SessionServiceTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public static function providerGetSessionId(): array {
5151
return [
5252
'authenticated keeps raw session id' => ['admin', 'public-uuid', 'session-raw-id'],
5353
'anonymous uses public uuid when available' => [null, 'public-uuid', 'public-uuid'],
54+
'anonymous ignores non-string public uuid' => [null, 123, 'session-raw-id'],
5455
'anonymous falls back to raw session id' => [null, null, 'session-raw-id'],
5556
];
5657
}

0 commit comments

Comments
 (0)