mirror of https://github.com/apache/archiva.git
repository scanning test fix for idependance
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1382285 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fb741717d1
commit
f52bade117
|
@ -40,6 +40,7 @@ import java.util.List;
|
|||
import org.apache.archiva.test.utils.ArchivaSpringJUnit4ClassRunner;
|
||||
|
||||
import static org.mockito.Mockito.mock;
|
||||
import org.springframework.test.annotation.DirtiesContext;
|
||||
|
||||
/**
|
||||
* ArchivaRepositoryScanningTaskExecutorPhase1Test
|
||||
|
@ -48,6 +49,7 @@ import static org.mockito.Mockito.mock;
|
|||
*/
|
||||
@RunWith( ArchivaSpringJUnit4ClassRunner.class )
|
||||
@ContextConfiguration( locations = { "classpath*:/META-INF/spring-context.xml", "classpath:/spring-context.xml" } )
|
||||
@DirtiesContext( classMode= DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD )
|
||||
public abstract class ArchivaRepositoryScanningTaskExecutorAbstractTest
|
||||
extends TestCase
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue