From b126c331958e4b533364519040314c14ff92176a Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 22 Feb 2023 12:39:00 -0800 Subject: [PATCH] Enable and fix ImportCandidatesTests --- .../boot/context/annotation/ImportCandidatesTests.java | 7 +++++-- ...nnotation.ImportCandidatesTests$TestAnnotation.imports} | 0 2 files changed, 5 insertions(+), 2 deletions(-) rename spring-boot-project/spring-boot/src/test/resources/META-INF/spring/{org.springframework.boot.context.annotation.ImportCandidatesTest$TestAnnotation.imports => org.springframework.boot.context.annotation.ImportCandidatesTests$TestAnnotation.imports} (100%) diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/annotation/ImportCandidatesTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/annotation/ImportCandidatesTests.java index 72d82514d8dc..2d4551f00edf 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/annotation/ImportCandidatesTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/annotation/ImportCandidatesTests.java @@ -21,12 +21,15 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; -@Disabled +/** + * Tests for {@link ImportCandidates}. + * + * @author Moritz Halbritter + */ class ImportCandidatesTests { @Test diff --git a/spring-boot-project/spring-boot/src/test/resources/META-INF/spring/org.springframework.boot.context.annotation.ImportCandidatesTest$TestAnnotation.imports b/spring-boot-project/spring-boot/src/test/resources/META-INF/spring/org.springframework.boot.context.annotation.ImportCandidatesTests$TestAnnotation.imports similarity index 100% rename from spring-boot-project/spring-boot/src/test/resources/META-INF/spring/org.springframework.boot.context.annotation.ImportCandidatesTest$TestAnnotation.imports rename to spring-boot-project/spring-boot/src/test/resources/META-INF/spring/org.springframework.boot.context.annotation.ImportCandidatesTests$TestAnnotation.imports