Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions console/atest-ui/src/views/TestSuite.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,7 @@ const apiSpecKinds = [
]

const handleAPISelect = (item: TestCase) => {
if (testCaseForm.method === '') {
testCaseForm.method = item.request.method
}
testCaseForm.method = item.request.method
if (testCaseForm.name === '') {
testCaseForm.name = item.name
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func ToGRPCTestCase(testCase testing.TestCase) (result *TestCase) {
req := &Request{
Api: testCase.Request.API,
Method: testCase.Request.Method,
// Query: mapToPair(testCase.Request.Query),
Query: mapInterToPair(testCase.Request.Query),
Header: mapToPair(testCase.Request.Header),
Form: mapToPair(testCase.Request.Form),
Body: testCase.Request.Body.String(),
Expand Down