Fix test order dependency in class `BasicManagedRepositoryValidatorTest` (#82)

* fix order dependency
* change import order
This commit is contained in:
Kaiyao Ke 2022-04-22 07:37:59 +08:00 committed by GitHub
parent c057c3ef1d
commit c3d53dac90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -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