forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid calling after construct callbacks twice when using @nested tests
The creation of test instances is done recursively, JUnit will call the method `initTestState` for every class. So we don't need to call the method `invokeAfterConstructCallbacks` for outer instances. Fix quarkusio#32383
- Loading branch information
1 parent
c6782de
commit cea286f
Showing
2 changed files
with
17 additions
and
3 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