adjust to test deprecation

https://github.com/symfony-cmf/symfony-cmf/issues/191