From 2a0b113a3de5577452bab15bd59b2e4c04425c83 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Wed, 10 Feb 2021 16:19:50 +0100 Subject: [PATCH] #1451 - Upgrade to ArchUnit 0.16.0. --- pom.xml | 2 +- src/test/java/org/springframework/hateoas/ArchitectureTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 3bff5ad8..c83340cf 100644 --- a/pom.xml +++ b/pom.xml @@ -1017,7 +1017,7 @@ com.tngtech.archunit archunit - 0.9.3 + 0.16.0 test diff --git a/src/test/java/org/springframework/hateoas/ArchitectureTest.java b/src/test/java/org/springframework/hateoas/ArchitectureTest.java index 682d1dab..002cf381 100644 --- a/src/test/java/org/springframework/hateoas/ArchitectureTest.java +++ b/src/test/java/org/springframework/hateoas/ArchitectureTest.java @@ -42,7 +42,7 @@ import com.tngtech.archunit.library.dependencies.SlicesRuleDefinition; @TestInstance(Lifecycle.PER_CLASS) class ArchitectureTest { - ImportOptions options = new ImportOptions().with(ImportOption.Predefined.DONT_INCLUDE_TESTS); + ImportOptions options = new ImportOptions().with(ImportOption.Predefined.DO_NOT_INCLUDE_TESTS); JavaClasses classes = new ClassFileImporter(options) // .importPackages("org.springframework.hateoas", "org.springframework");