diff --git a/src/test/java/com/dispose/test/Global/InitTestEnvironment.java b/src/test/java/com/dispose/test/Global/InitTestEnvironment.java index 7390c5b8..2d5820b9 100644 --- a/src/test/java/com/dispose/test/Global/InitTestEnvironment.java +++ b/src/test/java/com/dispose/test/Global/InitTestEnvironment.java @@ -155,12 +155,6 @@ public class InitTestEnvironment { } Assert.assertEquals(err, ErrorCode.ERR_OK); - if ((jsonObject.getString("code").length() == 0) || - Long.parseLong(jsonObject.getString("code")) != 200) { - err = ErrorCode.ERR_UNKNOWNCMD; - } - Assert.assertEquals(err, ErrorCode.ERR_OK); - return jsonObject.getString("msgContent"); } }