fix(接口测试): 断言失败显示成功

This commit is contained in:
chenjianxing 2020-10-14 17:45:40 +08:00
parent ac7ad49a1e
commit 69a29e2c0f
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ public class APIBackendListenerClient extends AbstractBackendListenerClient impl
ResponseAssertionResult responseAssertionResult = new ResponseAssertionResult();
responseAssertionResult.setMessage(assertionResult.getFailureMessage());
responseAssertionResult.setName(assertionResult.getName());
responseAssertionResult.setPass(!assertionResult.isFailure());
responseAssertionResult.setPass(!assertionResult.isFailure() && !assertionResult.isError());
return responseAssertionResult;
}