-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
TestingactionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.
Milestone
Description
In Symfony 4.1 appeared nice feature: https://symfony.com/blog/new-in-symfony-4-1-simpler-service-testing
As mentioned symfony/symfony#26499 (comment) removing unused private services from test.service_container
is intended behaviour.
In my bundle (call it bundle A) I've private service which will be type-hinted in other bundles, but not in bundle A.
Is there optimal way to write tests for this service in bundle A?
michnaadam33, darl85 and damienalexandre
Metadata
Metadata
Assignees
Labels
TestingactionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.