testcase assert
This commit is contained in:
parent
f94c7878f3
commit
9ff91ba621
@ -156,7 +156,7 @@ public class MultiTenant_InstanceAPI_ITCase {
|
|||||||
String.class);
|
String.class);
|
||||||
Assert.assertTrue(response.getStatusCode().is2xxSuccessful());
|
Assert.assertTrue(response.getStatusCode().is2xxSuccessful());
|
||||||
JSONObject json = JSON.parseObject(response.getBody());
|
JSONObject json = JSON.parseObject(response.getBody());
|
||||||
Assert.assertEquals("33.33.33.33", json.getString("ip"));
|
Assert.assertEquals(2, json.getJSONArray("hosts").size());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user