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:
skygo 2012-09-08 11:43:10 +00:00
parent fb741717d1
commit f52bade117
1 changed files with 2 additions and 0 deletions

View File

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