diff --git a/src/test/java/hudson/plugins/git/browser/AssemblaWebDoCheckURLTest.java b/src/test/java/hudson/plugins/git/browser/AssemblaWebDoCheckURLTest.java index 9bc582c005..02eab758e8 100644 --- a/src/test/java/hudson/plugins/git/browser/AssemblaWebDoCheckURLTest.java +++ b/src/test/java/hudson/plugins/git/browser/AssemblaWebDoCheckURLTest.java @@ -60,20 +60,6 @@ public void testPathLevelChecksOnRepoUrlInvalidPathSyntax() throws Exception { assertThat(assemblaWebDescriptor.doCheckRepoUrl(project, url).getLocalizedMessage(), is("Invalid URL")); } - @Test - public void testPathLevelChecksOnRepoUrlValidURLNullProject() throws Exception { - String url = "https://app.assembla.com/space/git-plugin/git/source"; - assertThat(assemblaWebDescriptor.doCheckRepoUrl(null, url), is(FormValidation.ok())); - } - - @Test - public void testPathLevelChecksOnRepoUrlUnableToConnect() throws Exception { - // Syntax issue related specific to Assembla - String url = "https://app.assembla.com/space/git-plugin/git/source/"; - assertThat(assemblaWebDescriptor.doCheckRepoUrl(project, url).getLocalizedMessage(), - is("Exception reading from Assembla URL " + url + " : ERROR: Unable to connect " + url)); - } - @Test public void testPathLevelChecksOnRepoUrlSupersetOfAssembla() throws Exception { java.util.Random random = new java.util.Random();