Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove two tests that depend on assembla.com #1593

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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