mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
added another configRoundtrip method
This commit is contained in:
1 parent
36ddba6bfb
commit
08b7541d76
1 file changed
+5
@@ -788,6 +788,11 @@ public abstract class HudsonTestCase extends TestCase implements RootAction {
|
||||
return (C)computerConnectorTester.connector;
|
||||
}
|
||||
|
||||
protected User configRoundtrip(User u) throws Exception {
|
||||
submit(createWebClient().goTo(u.getUrl()+"/configure").getFormByName("config"));
|
||||
return u;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Asserts that the outcome of the build is a specific outcome.
|
||||
|
||||
Reference in new issue
Block a user