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.WebRequest;
|
||||||
import com.meterware.httpunit.WebResponse;
|
import com.meterware.httpunit.WebResponse;
|
||||||
import org.apache.commons.io.FileUtils;
|
import org.apache.commons.io.FileUtils;
|
||||||
|
import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
|
||||||
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* RepositoryServletTest
|
* RepositoryServletTest
|
||||||
|
@ -35,6 +38,15 @@ import java.io.File;
|
||||||
public class RepositoryServletNoProxyTest
|
public class RepositoryServletNoProxyTest
|
||||||
extends AbstractRepositoryServletTestCase
|
extends AbstractRepositoryServletTestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@Before
|
||||||
|
public void setUp()
|
||||||
|
throws Exception
|
||||||
|
{
|
||||||
|
super.setUp();
|
||||||
|
archivaConfiguration.getConfiguration().setProxyConnectors( new ArrayList<ProxyConnectorConfiguration>() );
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testLastModifiedHeaderExists()
|
public void testLastModifiedHeaderExists()
|
||||||
throws Exception
|
throws Exception
|
||||||
|
|
Loading…
Reference in New Issue