Skip to content

Commit

Permalink
Import designated packages when scanning classes using archunit (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit authored Nov 4, 2020
1 parent d4e1fdb commit 7b7f07e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/java/com/pivovarit/collectors/ArchitectureTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
class ArchitectureTest {

private static final JavaClasses classes = new ClassFileImporter()
.importClasspath(new ImportOptions()
.with(DO_NOT_INCLUDE_JARS)
.with(DO_NOT_INCLUDE_ARCHIVES)
.with(DO_NOT_INCLUDE_TESTS));
.withImportOption(DO_NOT_INCLUDE_TESTS)
.withImportOption(DO_NOT_INCLUDE_JARS)
.withImportOption(DO_NOT_INCLUDE_ARCHIVES)
.importPackages("com.pivovarit");

@Test
void shouldHaveSingleFacade() {
Expand Down

0 comments on commit 7b7f07e

Please sign in to comment.