Commit ddbf2f85 authored by liguangyu06's avatar liguangyu06
Browse files

用例优化

parent 790ca070
...@@ -217,9 +217,9 @@ checkDict21: {"success":false,"code":"200","message":"商品添加完毕,本 ...@@ -217,9 +217,9 @@ checkDict21: {"success":false,"code":"200","message":"商品添加完毕,本
checkDict22: {"success":false,"code":"200","message":"商品添加完毕,本次添加商品【1】条,成功【0】条,失败【1】条:\n第1行,产品编码或物料编码为空!","data":[],"freshToken":null} checkDict22: {"success":false,"code":"200","message":"商品添加完毕,本次添加商品【1】条,成功【0】条,失败【1】条:\n第1行,产品编码或物料编码为空!","data":[],"freshToken":null}
#测试场景三:子站点不存在 #测试场景三:子站点不存在
"payload23": {"currentCompanyId":"","buyerCartList":[{"productCode":"10231310","materialCode":"","quantity":"1"}],"excelCopySort":0,"companyId":"%s"} "payload24": {"currentCompanyId":"","buyerCartList":[{"productCode":"10231310","materialCode":"","quantity":"1"}],"excelCopySort":0,"companyId":"%d"}
#预期结果 #预期结果
checkDict23: {"success":false,"code":"999","message":"找不到该公司的首营信息","data":null,"freshToken":null} checkDict24: {"success":false,"code":"999","message":"找不到该公司的首营信息","data":null,"freshToken":null}
#测试场景四:添加商品成功 #测试场景四:添加商品成功
"payload23": {"currentCompanyId":"","buyerCartList":[{"productCode":"%s","materialCode":"","quantity":"1"}],"excelCopySort":0,"companyId":"%s"} "payload23": {"currentCompanyId":"","buyerCartList":[{"productCode":"%s","materialCode":"","quantity":"1"}],"excelCopySort":0,"companyId":"%s"}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment