-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests failing cus of error: type 'MockRtcEngine' is not a subtype of type 'RtcEngineImpl' in type cast #1420
Comments
The
How does your test case look like, maybe it's not a good way to mock the |
If the rendering is not a matter of your test, I think you'd better mock |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue. |
Before v6.2.3 I could easily mock RtcEngine class and run tests but after updating to the most recent version my tests are no longer working. This is the error I am getting:
I am using mocktail package to mock RtcEngine and stub it's methods. When I downgrade to 6.2.2 everything works fine.
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: