Skip to content

Commit bdf571b

Browse files
Junit4 to Junit4 Integration Tests migration
* add the extension registration declaratively (using an annotation)
1 parent b72abd3 commit bdf571b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

integration-test/src/test/java/org/cloudfoundry/AbstractIntegrationTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import org.junit.jupiter.api.AfterEach;
2020
import org.junit.jupiter.api.BeforeEach;
2121
import org.junit.jupiter.api.TestInfo;
22+
import org.junit.jupiter.api.extension.ExtendWith;
2223
import org.slf4j.Logger;
2324
import org.slf4j.LoggerFactory;
2425
import org.springframework.beans.factory.annotation.Autowired;
@@ -39,6 +40,7 @@
3940
import static org.cloudfoundry.util.tuple.TupleUtils.consumer;
4041

4142
@SpringJUnitConfig(classes = IntegrationTestConfiguration.class)
43+
@ExtendWith(CloudFoundryVersionConditionalRule.class)
4244
public abstract class AbstractIntegrationTest {
4345

4446
private final Logger logger = LoggerFactory.getLogger("cloudfoundry-client.test");

0 commit comments

Comments
 (0)