pushFailsOnUnexpectedError integration test.

This commit is contained in:
Winston Li
2015-03-10 12:14:10 +00:00
parent a0eb4b0946
commit d697f75c77
6 changed files with 89 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ public class SnapshotPostExceptionBuilder {
} else if (errorCode.equals(CODE_ERROR_INVALID_FILES)) {
return new InvalidFilesException(json);
} else if (errorCode.equals(CODE_ERROR_INVALID_PROJECT)) {
return new uk.ac.ic.wlgitbridge.snapshot.getdoc.exception.InvalidProjectException(json);
return new InvalidProjectException(json);
} else if (errorCode.equals(CODE_ERROR_UNKNOWN)) {
return new UnexpectedErrorException(json);
} else {