Alfonso Machado

Results 9 comments of Alfonso Machado

I have the same issue. In my case, my test suite creates different kernel in different environments and I am using default entity manager. I had to change the key...

@alexislefebvre ping, some feedback about this, I would like to try to do it.

Today I have had the same doubt and I can not do like dbu says because I have to get more service. I have done something like ``` php $mock...

yes... but this method just create a mock of a service. I want to create a mock and add it to container because when some class call to this service,...

I was digging in this topic for a couple of days and I have created this [repo](https://github.com/almacbe/inject-mock-service-di-symfony) with some examples of different ways to overrider services in the container. The...

I am not sure how add this topic to the doc because this bundle don't do nothing related to this topic. Some idea? Maybe... but I am not sure how...

@tarjei @Jean85 thanks so much for the advice. Good to know!

Hello, I am sorry for reopening this, but do you find some way to solve it? I have this problem too. :P Kind regards, Alfonso.