Skip to content
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

"Mockito cannot mock this class" after upgrading from Kotlin 1.6.21 to 1.7.0 #460

Open
breucode opened this issue Jul 2, 2022 · 2 comments

Comments

@breucode
Copy link

breucode commented Jul 2, 2022

After upgrading from Kotlin 1.6.21 to 1.7.0 several tests failed in my project.

Error log from 1.7.0: https://github.com/breucode/imisu/runs/7162625396

Successful run in 1.6.21: https://github.com/breucode/imisu/runs/7162750526

The failing tests are located here: https://github.com/breucode/imisu/blob/master/src/test/kotlin/de/breuco/imisu/api/routes/ServicesTest.kt

@TimvdLippe
Copy link
Contributor

Can you please provide a full stacktrace of the exception?

@childnode
Copy link

I expect not the same, but there is an mockito issue at 1.7.20+ mockito/mockito#2795

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants