fix(接口测试): 断言失败显示成功
This commit is contained in:
parent
ac7ad49a1e
commit
69a29e2c0f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue