From c3d53dac903ce7eb32aab35d93741e6a20fbaba2 Mon Sep 17 00:00:00 2001 From: Kaiyao Ke <47203510+kaiyaok2@users.noreply.github.com> Date: Fri, 22 Apr 2022 07:37:59 +0800 Subject: Fix test order dependency in class `BasicManagedRepositoryValidatorTest` (#82) * fix order dependency * change import order --- .../base/managed/BasicManagedRepositoryValidatorTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'archiva-modules') diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/base/managed/BasicManagedRepositoryValidatorTest.java b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/base/managed/BasicManagedRepositoryValidatorTest.java index a5ed4b5b0..789e0d8a2 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/base/managed/BasicManagedRepositoryValidatorTest.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/base/managed/BasicManagedRepositoryValidatorTest.java @@ -26,6 +26,8 @@ import org.apache.archiva.repository.ManagedRepository; import org.apache.archiva.repository.RepositoryException; import org.apache.archiva.repository.RepositoryRegistry; import org.apache.archiva.repository.base.ConfigurationHandler; +import org.apache.archiva.repository.base.managed.ManagedRepositoryHandler; +import org.apache.archiva.repository.base.remote.RemoteRepositoryHandler; import org.apache.archiva.repository.base.group.RepositoryGroupHandler; import org.apache.archiva.repository.mock.ManagedRepositoryContentMock; import org.apache.archiva.repository.storage.fs.FilesystemStorage; @@ -62,6 +64,12 @@ class BasicManagedRepositoryValidatorTest @Inject RepositoryGroupHandler repositoryGroupHandler; + @Inject + ManagedRepositoryHandler managedRepositoryHandler; + + @Inject + RemoteRepositoryHandler remoteRepositoryHandler; + Path repoBaseDir; @AfterEach -- cgit v1.2.3