webfactory / symfony-application-tests

Contains several generic test scenarios that can be applied to Symfony applications.
MIT License
10 stars 1 forks source link

Check only services that are defined in the application #3

Closed Matthimatiker closed 10 years ago

Matthimatiker commented 10 years ago

Third party bundles might configure services incorrectly. Also that should be fixed, it is not the intention of this library to inspect and debug these services. The library should (at least per default) check only services that are defined in the application and its bundles.

Matthimatiker commented 10 years ago

An example for a problem with a third party bundle is the routing configuration in the WebProfiler bundle. Some entries referenced not existing controller methods. The invalid routes were removed in newer versions: https://github.com/symfony/symfony/commit/1421449991fda6e5052d83566aec07316a0e5210