Skip to content

Commit

Permalink
[JENKINS-34675] - Fix the Unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed May 8, 2016
1 parent 3431a81 commit 25f6c2c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -67,7 +67,7 @@ public void doConnectionStatus_unknown_site() throws IOException, SAXException {
JSONObject response = jenkinsRule.getJSON("updateCenter/connectionStatus?siteId=blahblah").getJSONObject();

Assert.assertEquals("error", response.getString("status"));
Assert.assertEquals("Unknown site 'blahblah'.", response.getString("message"));
Assert.assertEquals("Cannot check connection status of the update site with ID='blahblah'. This update center cannot be resolved", response.getString("message"));
}

private UpdateSite updateSite = new UpdateSite(UpdateCenter.ID_DEFAULT, "http://xyz") {
Expand Down

0 comments on commit 25f6c2c

Please sign in to comment.