From c567ef1b27fa89c9e9520989dcac2f0e9bcc92f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petar=20=C5=A0panja?= Date: Fri, 26 Mar 2021 13:39:05 +0100 Subject: [PATCH] NGSTACK-489: bring back default subscribers --- .../Integration/Resources/config/regression_services.yml | 7 +++++++ tests/lib/Integration/Resources/config/services.yml | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/tests/lib/Integration/Resources/config/regression_services.yml b/tests/lib/Integration/Resources/config/regression_services.yml index 61a26b5..bec52c6 100644 --- a/tests/lib/Integration/Resources/config/regression_services.yml +++ b/tests/lib/Integration/Resources/config/regression_services.yml @@ -29,9 +29,16 @@ services: - { name: kernel.event_subscriber } # Disabled for regression tests + # # Symfony\Component\EventDispatcher\EventDispatcher: # calls: # - ['addSubscriber', ['@netgen_test.search.solr.event_subscriber.child_updates_parent']] + # - ['addSubscriber', ['@eZ\Publish\Core\Search\Common\EventSubscriber\ContentEventSubscriber']] + # - ['addSubscriber', ['@eZ\Publish\Core\Search\Common\EventSubscriber\LocationEventSubscriber']] + # - ['addSubscriber', ['@eZ\Publish\Core\Search\Common\EventSubscriber\ObjectStateEventSubscriber']] + # - ['addSubscriber', ['@eZ\Publish\Core\Search\Common\EventSubscriber\SectionEventSubscriber']] + # - ['addSubscriber', ['@eZ\Publish\Core\Search\Common\EventSubscriber\TrashEventSubscriber']] + # - ['addSubscriber', ['@eZ\Publish\Core\Search\Common\EventSubscriber\UserEventSubscriber']] netgen_test.search.solr.field_mapper.content: class: Netgen\EzPlatformSearchExtra\Tests\Integration\Implementation\Solr\FieldMapper\TestContentFieldMapper diff --git a/tests/lib/Integration/Resources/config/services.yml b/tests/lib/Integration/Resources/config/services.yml index 7540e52..b973036 100644 --- a/tests/lib/Integration/Resources/config/services.yml +++ b/tests/lib/Integration/Resources/config/services.yml @@ -31,6 +31,12 @@ services: Symfony\Component\EventDispatcher\EventDispatcher: calls: - ['addSubscriber', ['@netgen_test.search.solr.event_subscriber.child_updates_parent']] + - ['addSubscriber', ['@eZ\Publish\Core\Search\Common\EventSubscriber\ContentEventSubscriber']] + - ['addSubscriber', ['@eZ\Publish\Core\Search\Common\EventSubscriber\LocationEventSubscriber']] + - ['addSubscriber', ['@eZ\Publish\Core\Search\Common\EventSubscriber\ObjectStateEventSubscriber']] + - ['addSubscriber', ['@eZ\Publish\Core\Search\Common\EventSubscriber\SectionEventSubscriber']] + - ['addSubscriber', ['@eZ\Publish\Core\Search\Common\EventSubscriber\TrashEventSubscriber']] + - ['addSubscriber', ['@eZ\Publish\Core\Search\Common\EventSubscriber\UserEventSubscriber']] netgen_test.search.solr.field_mapper.content: class: Netgen\EzPlatformSearchExtra\Tests\Integration\Implementation\Solr\FieldMapper\TestContentFieldMapper