testcase assert

This commit is contained in:
xiaochun.xxc 2019-01-09 20:20:57 +08:00
parent f94c7878f3
commit 9ff91ba621

View File

@ -156,7 +156,7 @@ public class MultiTenant_InstanceAPI_ITCase {
String.class);
Assert.assertTrue(response.getStatusCode().is2xxSuccessful());
JSONObject json = JSON.parseObject(response.getBody());
Assert.assertEquals("33.33.33.33", json.getString("ip"));
Assert.assertEquals(2, json.getJSONArray("hosts").size());
}
/**