diff --git a/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java b/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java index 9354d50978..c707592f37 100644 --- a/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java +++ b/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java @@ -671,6 +671,13 @@ public abstract class HudsonTestCase extends TestCase implements RootAction { return new WebClient().search(q); } + /** + * Hits the Hudson system configuration and submits without any modification. + */ + protected void configRoundtrip() throws Exception { + submit(createWebClient().goTo("configure").getFormByName("config")); + } + /** * Loads a configuration page and submits it without any modifications, to * perform a round-trip configuration test.