Skip to content

Use Mockito version compatible with Java 8 #2275

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

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

EgorkaKulikov
Copy link
Collaborator

@EgorkaKulikov EgorkaKulikov commented Jun 9, 2023

Description

Newest versions of Mockito are not compatible with Java 8, see https://www.davidvlijmincx.com/posts/upgrade-to-mockito-5
As UtBot still supports it, we use 4.11.0 version everywhere.

How to test

Manual tests

Basic mocking regression.

Self-check list

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

@EgorkaKulikov EgorkaKulikov added ctg-bug-fix PR is fixing a bug comp-settings Issue is related to settings labels Jun 9, 2023
@EgorkaKulikov EgorkaKulikov requested a review from Damtev June 9, 2023 14:25
@EgorkaKulikov EgorkaKulikov enabled auto-merge (squash) June 9, 2023 14:26
@EgorkaKulikov EgorkaKulikov merged commit c4b5aaa into main Jun 9, 2023
@EgorkaKulikov EgorkaKulikov deleted the egor/decrease_mockito_version branch June 9, 2023 14:38
@Markoutte Markoutte mentioned this pull request Jun 20, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-settings Issue is related to settings ctg-bug-fix PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants