Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
xiaofang li
MeterSphere
Commits
637a179f
Commit
637a179f
authored
3 years ago
by
fit2-zhao
Committed by
fit2-zhao
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix(接口测试): 引用场景num丢失问题修复
parent
2c83a76d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java
+2
-0
...java/io/metersphere/api/service/ApiAutomationService.java
with
2 additions
and
0 deletions
+2
-0
backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java
+
2
-
0
View file @
637a179f
...
...
@@ -669,6 +669,7 @@ public class ApiAutomationService {
element
=
JSON
.
parseObject
(
scenarioWithBLOBs
.
getScenarioDefinition
());
element
.
put
(
"referenced"
,
"REF"
);
}
element
.
put
(
"id"
,
scenarioWithBLOBs
.
getId
());
element
.
put
(
"num"
,
scenarioWithBLOBs
.
getNum
());
element
.
put
(
"enable"
,
enable
);
element
.
put
(
"environmentEnable"
,
environmentEnable
);
...
...
@@ -697,6 +698,7 @@ public class ApiAutomationService {
element
=
JSON
.
parseObject
(
scenarioWithBLOBs
.
getScenarioDefinition
());
element
.
put
(
"referenced"
,
"REF"
);
}
element
.
put
(
"id"
,
scenarioWithBLOBs
.
getId
());
element
.
put
(
"enable"
,
enable
);
element
.
put
(
"environmentEnable"
,
environmentEnable
);
element
.
put
(
"num"
,
scenarioWithBLOBs
.
getNum
());
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment