Skip to content

Commit

Permalink
Remove two tests that depend on assembla.com (#1593)
Browse files Browse the repository at this point in the history
Returned HTTP 524 is a recent test

Test is not valuable enough to waste time diagnosing it
  • Loading branch information
MarkEWaite committed Jun 12, 2024
1 parent 32b8e57 commit a0024ee
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a0024ee

Please sign in to comment.