mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-20 07:22:32 +00:00
Hide delete link from /computer/(master)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14267 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
b96b5d449f
commit
d0213f18e5
3 files changed
+53
-1
No files matched your search
@@ -586,7 +586,14 @@ public abstract class HudsonTestCase extends TestCase {
|
||||
}
|
||||
|
||||
public Page goTo(String relative, String expectedContentType) throws IOException, SAXException {
|
||||
return super.getPage("http://localhost:"+localPort+contextPath+relative);
|
||||
return super.getPage(getContextPath() +relative);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the URL of the webapp top page.
|
||||
*/
|
||||
public String getContextPath() {
|
||||
return "http://localhost:"+localPort+contextPath;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user