mirror of https://github.com/apache/archiva.git
ensure we don't have anymore proxy connectors for this unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136176 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a54f72b741
commit
84ef692a11
|
@ -23,9 +23,12 @@ import com.meterware.httpunit.GetMethodWebRequest;
|
|||
import com.meterware.httpunit.WebRequest;
|
||||
import com.meterware.httpunit.WebResponse;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* RepositoryServletTest
|
||||
|
@ -35,6 +38,15 @@ import java.io.File;
|
|||
public class RepositoryServletNoProxyTest
|
||||
extends AbstractRepositoryServletTestCase
|
||||
{
|
||||
|
||||
@Before
|
||||
public void setUp()
|
||||
throws Exception
|
||||
{
|
||||
super.setUp();
|
||||
archivaConfiguration.getConfiguration().setProxyConnectors( new ArrayList<ProxyConnectorConfiguration>() );
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testLastModifiedHeaderExists()
|
||||
throws Exception
|
||||
|
|
Loading…
Reference in New Issue