Commit 233cec84 authored by xiamengchen's avatar xiamengchen

fix:修改抽奖结果校验

parent 956c7eb1
......@@ -1206,7 +1206,7 @@ public class Lottery implements Authorization {
Response hasEndResB = network.getResponse(hasEndParam, BasicConfig.USER_result);
boolean dataB = getDataLottery(hasEndResB);
String responseBody = "A=" + hasEndResA.body().asString() + ", B=" + hasEndResB.body().asString();
Assert.assertTrue(dataA && dataB && dataC, network.message(hasEndParam, BasicConfig.USER_result, "访客未中奖", responseBody));
Assert.assertTrue(dataA || dataB || dataC, network.message(hasEndParam, BasicConfig.USER_result, "访客未中奖", responseBody));
}
......
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