diff options
author | Kaiyao Ke <47203510+kaiyaok2@users.noreply.github.com> | 2022-04-22 07:37:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 09:37:59 +1000 |
commit | c3d53dac903ce7eb32aab35d93741e6a20fbaba2 (patch) | |
tree | 35bdc4f565b024a18f556f3d9cf16e622996f5d6 /archiva-modules | |
parent | c057c3ef1deb0d299bd1ed2141ac9e4c49eb0619 (diff) | |
download | archiva-c3d53dac903ce7eb32aab35d93741e6a20fbaba2.tar.gz archiva-c3d53dac903ce7eb32aab35d93741e6a20fbaba2.zip |
Fix test order dependency in class `BasicManagedRepositoryValidatorTest` (#82)
* fix order dependency
* change import order
Diffstat (limited to 'archiva-modules')
-rw-r--r-- | archiva-modules/archiva-base/archiva-repository-layer/src/test/java/org/apache/archiva/repository/base/managed/BasicManagedRepositoryValidatorTest.java | 8 |
1 files changed, 8 insertions, 0 deletions
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 |