Skip to content

Commit

Permalink
fix(接口定义): 修复部分缺陷
Browse files Browse the repository at this point in the history
  • Loading branch information
fit2-zhao committed Dec 17, 2020
1 parent a6876c8 commit 1c184a3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ private ResponseAssertion responseAssertion(MsAssertionRegex assertionRegex) {
assertion.setProperty(TestElement.TEST_CLASS, ResponseAssertion.class.getName());
assertion.setProperty(TestElement.GUI_CLASS, SaveService.aliasToClass("AssertionGui"));
assertion.setAssumeSuccess(assertionRegex.isAssumeSuccess());
assertion.addTestString(assertionRegex.getExpression());
assertion.setToContainsType();
switch (assertionRegex.getSubject()) {
case "Response Code":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@
this.reload();
},
copyRow(row) {
let obj = {};
Object.assign(obj, row);
let obj =JSON.parse(JSON.stringify(row));
obj.id = getUUID();
this.request.hashTree.push(obj);
this.reload();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@
this.reload();
},
copyRow(row) {
let obj = {};
Object.assign(obj, row);
let obj =JSON.parse(JSON.stringify(row));
obj.id = getUUID();
this.request.hashTree.push(obj);
this.reload();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@
this.reload();
},
copyRow(row) {
let obj = {};
Object.assign(obj, row);
let obj =JSON.parse(JSON.stringify(row));
obj.id = getUUID();
this.request.hashTree.push(obj);
this.reload();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@
this.reload();
},
copyRow(row) {
let obj = {};
Object.assign(obj, row);
let obj =JSON.parse(JSON.stringify(row));
obj.id = getUUID();
this.request.hashTree.push(obj);
this.reload();
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/business/components/xpack
Submodule xpack updated from 010ad7 to d39daf

0 comments on commit 1c184a3

Please sign in to comment.