Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.cloudfoundry.identity.uaa.extensions.profiles;

import org.junit.jupiter.api.Assumptions;
import org.junit.jupiter.api.extension.BeforeTestExecutionCallback;
import org.junit.jupiter.api.extension.BeforeEachCallback;
import org.junit.jupiter.api.extension.ExtensionContext;
import org.junit.platform.commons.util.AnnotationUtils;
import org.springframework.test.context.junit.jupiter.SpringExtension;
Expand All @@ -17,10 +17,10 @@
* @see DisabledIfProfile
* @see EnabledIfProfile
*/
public class ProfileSelectionExtension implements BeforeTestExecutionCallback {
public class ProfileSelectionExtension implements BeforeEachCallback {

@Override
public void beforeTestExecution(ExtensionContext context) {
public void beforeEach(ExtensionContext context) {
var activeProfiles = getActiveProfilesOrNull(context);
if (activeProfiles == null) {
return;
Expand Down
Loading