Skip to content

Commit 866b85b

Browse files
committed
test(server): use Uuid::v4 for symfony/uid 5.4 compatibility
Uuid::v7() was added in symfony/uid 6.2 and breaks the Symfony 5.4 matrix job. Match the convention used elsewhere in the suite.
1 parent 6488049 commit 866b85b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/Unit/Capability/Registry/ReferenceHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class ReferenceHandlerTest extends TestCase
2525
public function testHandleDispatchesToRuntimeHandlerAndForwardsClientGateway(): void
2626
{
2727
$session = $this->createMock(SessionInterface::class);
28-
$session->method('getId')->willReturn(Uuid::v7());
28+
$session->method('getId')->willReturn(Uuid::v4());
2929

3030
$runtimeHandler = new class implements RuntimeHandlerInterface {
3131
/** @var array<string, mixed>|null */
@@ -63,7 +63,7 @@ public function execute(array $arguments, ClientGateway $gateway): mixed
6363
public function testRuntimeHandlerTakesPriorityOverInvokeAndCallableDetection(): void
6464
{
6565
$session = $this->createMock(SessionInterface::class);
66-
$session->method('getId')->willReturn(Uuid::v7());
66+
$session->method('getId')->willReturn(Uuid::v4());
6767

6868
$runtimeHandler = new class implements RuntimeHandlerInterface {
6969
public bool $executed = false;

0 commit comments

Comments
 (0)