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