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
Would it be possible for you to use auto loading instead of require statements for the API client? Using require statements makes unit testing for us a lot harder when trying to mock the client.
Mockery supports mocking of static public methods for classes not yet loaded, but we can't use this feature because of the existing require statements, and therefore can't write suitable tests.
The text was updated successfully, but these errors were encountered:
Would it be possible for you to use auto loading instead of require statements for the API client? Using require statements makes unit testing for us a lot harder when trying to mock the client.
Mockery supports mocking of static public methods for classes not yet loaded, but we can't use this feature because of the existing require statements, and therefore can't write suitable tests.
The text was updated successfully, but these errors were encountered: