You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a really good question; I'll need to set aside some time to look into this one for you. I don't have anything more to add at this point but it's on my radar :)
Hi @myquay
How do I mock a service in a tenant container?
For example, suppose:
Then in my integration tests when I usually want to mock a service, for example:
But since it's in its own container which is resolved internally, this does not return
someServiceMock
but instead the real service.I was thinking of mocking the
MultiTenantServiceProviderFactory
but it's internal...The text was updated successfully, but these errors were encountered: