fix for running functional tests with symfony2 WebTestCase
fix for running functional tests with symfony2 WebTestCase

felicitus/StofDoctrineExtensionsBundle,jhcasado/StofDoctrineExtensionsBundle,alterphp/StofDoctrineExtensionsBundle,IWAtech/StofDoctrineExtensionsBundle,mcfedr/StofDoctrineExtensionsBundle,stof/StofDoctrineExtensionsBundle,OskarStark/StofDoctrineExtensionsBundle,romaricdrigon/StofDoctrineExtensionsBundle,erikaheidi/StofDoctrineExtensionsBundle