File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
server/src/test/java/org/cloudfoundry/identity/uaa/extensions/profiles Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11package org .cloudfoundry .identity .uaa .extensions .profiles ;
22
33import org .junit .jupiter .api .Assumptions ;
4- import org .junit .jupiter .api .extension .BeforeTestExecutionCallback ;
4+ import org .junit .jupiter .api .extension .BeforeEachCallback ;
55import org .junit .jupiter .api .extension .ExtensionContext ;
66import org .junit .platform .commons .util .AnnotationUtils ;
77import org .springframework .test .context .junit .jupiter .SpringExtension ;
1717 * @see DisabledIfProfile
1818 * @see EnabledIfProfile
1919 */
20- public class ProfileSelectionExtension implements BeforeTestExecutionCallback {
20+ public class ProfileSelectionExtension implements BeforeEachCallback {
2121
2222 @ Override
23- public void beforeTestExecution (ExtensionContext context ) {
23+ public void beforeEach (ExtensionContext context ) {
2424 var activeProfiles = getActiveProfilesOrNull (context );
2525 if (activeProfiles == null ) {
2626 return ;
You can’t perform that action at this time.
0 commit comments