Mocking Api
#569
Replies: 2 comments
-
Did You find a fix for this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have not. It seems like an issue is my class is getting instantiated with the constructor with parameters instead of the parameter less one. So when I run tests locally it’s fine but once the code goes live I get the Zendesk error.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am setting up unit tests for some services which involve this API. I'd like to be able to mock the calls, but I am getting an error on dependency injection that IZendeskAPI doesn't have an accessible constructor. Do you have any recommendations for how to handle this? Or could it be an enhancement request?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions