From: Olivier Lamy Date: Wed, 15 Jun 2011 20:24:50 +0000 (+0000) Subject: ensure we don't have anymore proxy connectors for this unit test X-Git-Tag: archiva-1.4-M1~623 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=84ef692a11c8d9e3b41591a8715590cf379bc7a8;p=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 --- diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/RepositoryServletNoProxyTest.java b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/RepositoryServletNoProxyTest.java index 1954a570f..143e8a889 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/RepositoryServletNoProxyTest.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/RepositoryServletNoProxyTest.java @@ -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() ); + } + @Test public void testLastModifiedHeaderExists() throws Exception