diff --git a/mercure.rst b/mercure.rst index a2ed1fea4db..bbc8771b82c 100644 --- a/mercure.rst +++ b/mercure.rst @@ -673,8 +673,9 @@ sent: .. code-block:: yaml # config/services_test.yaml - mercure.hub.default: - class: App\Tests\Functional\Stub\HubStub + services: + mercure.hub.default: + class: App\Tests\Functional\Stub\HubStub As MercureBundle support multiple hubs, you may have to replace the other service definitions accordingly.