forked from bisq-network/bisq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace MockitoSession with the Mockito test extension
Now that 'mockito-junit-jupiter' has been added to the build test dependencies, we may replace the manual setup & tear down of a Mockito session with the 'MockitoExtension' JUnit 5 test extension, as the old Mockito JUnit 4 test runner was no longer available upon upgrading to Jupiter. This slightly simplifies the tests which use '@mock', '@SPY', etc.
- Loading branch information
Showing
3 changed files
with
13 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters