Commit 4a46cdb2 by zhangying

修改断言,兼容灰度

parent c32c385a
...@@ -48,7 +48,7 @@ public class TestAuthenticateMqtt extends XMBaseTest { ...@@ -48,7 +48,7 @@ public class TestAuthenticateMqtt extends XMBaseTest {
Assert.assertEquals("true", jsonBody.getString("success")); Assert.assertEquals("true", jsonBody.getString("success"));
Assert.assertEquals("操作成功!", jsonBody.getString("message")); Assert.assertEquals("操作成功!", jsonBody.getString("message"));
Assert.assertEquals("liveMessageTopic", jsonBody.getJSONObject("result").getString("mqttTopic")); Assert.assertNotNull(jsonBody.getJSONObject("result").getString("mqttTopic"));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment