mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 03:58:33 +08:00
fix(接口测试): 修复场景变量为空值时Log中输出为null问题#12350
https://github.com/metersphere/metersphere/issues/12350
This commit is contained in:
parent
a3ec0c58e7
commit
2fbfd408b6
@ -53,7 +53,7 @@ public class ScenarioVariable {
|
||||
}
|
||||
|
||||
public boolean isConstantValid() {
|
||||
if ((StringUtils.isEmpty(this.type) || StringUtils.equals(this.type, VariableTypeConstants.CONSTANT.name())) && StringUtils.isNotEmpty(name) && StringUtils.isNotEmpty(value)) {
|
||||
if ((StringUtils.isEmpty(this.type) || StringUtils.equals(this.type, VariableTypeConstants.CONSTANT.name())) && StringUtils.isNotEmpty(name)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user