[DependencyInjection] Fixed a failing test for the YamlDumper.

Test is failing on environments where Yaml component is installed globally (i.e. with phpunit), since the default indentation level has changed.