This commit is contained in:
Arnaud Roques 2022-12-06 19:12:57 +01:00
parent df9c10604a
commit 10dd88714a
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ public class TestProxy extends WebappTestCase {
* Verifies the proxified reception of the default Bob and Alice diagram
*/
public void testDefaultProxy() throws IOException {
net.sourceforge.plantuml.servlet.ProxyServlet.goTest();
final URL url = new URL(getServerUrl() + "/proxy?src=" + getServerUrl() + "/resource/test2diagrams.txt");
final URLConnection conn = url.openConnection();
// Analyze response

View File

@ -20,6 +20,7 @@ public abstract class WebappTestCase extends TestCase {
public WebappTestCase() {
this(null);
net.sourceforge.plantuml.servlet.ProxyServlet.goTest();
}
public WebappTestCase(String name) {