You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Mockito1to3Migration not adding runner after removing PowerMockRunner (#942)
ReplacePowerMockito was ordered after AddMockitoExtensionIfAnnotationsUsed,
so the latter would see @RunWith(PowerMockRunner.class) and skip the class.
Then ReplacePowerMockito would remove it, leaving @mock fields uninitialized.
Move ReplacePowerMockito before AddMockitoExtensionIfAnnotationsUsed so the
runner gap is detected and filled with MockitoJUnitRunner or MockitoExtension.
0 commit comments