Skip to content

[LiveComponent] Broken tests #1435

Closed
Closed
@fracsi

Description

@fracsi

Using TestLiveComponent in throws Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException on construct after #1218
There is an initial GET request at:

$this->client->request('GET', $this->router->generate(
$this->metadata->get('route'),
[
'_live_component' => $this->metadata->getName(),
'props' => json_encode($props->getProps(), flags: \JSON_THROW_ON_ERROR),
]
));

Possible fix PR: #1434

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions