Skip to content
Permalink
Browse files
[JENKINS-34675] - Fix the Unit test
  • Loading branch information
oleg-nenashev committed May 8, 2016
1 parent 3431a81 commit 25f6c2cf6d771668fe1caae1c11c82a2b80284e7
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/src/test/java/hudson/model/UpdateCenterConnectionStatusTest.java
@@ -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") {

0 comments on commit 25f6c2c

Please sign in to comment.