fix(接口测试): 修复ServiceKey与ServiceInterface颠倒的bug
This commit is contained in:
parent
3db24258f4
commit
b48f7e7468
|
@ -297,8 +297,8 @@ public class APITestService {
|
|||
if (info.length > 1) {
|
||||
provider.setVersion(info[1]);
|
||||
}
|
||||
provider.setService(info[0]);
|
||||
provider.setServiceInterface(p);
|
||||
provider.setService(p);
|
||||
provider.setServiceInterface(info[0]);
|
||||
Map<String, URL> services = providerService.findByService(p);
|
||||
if (services != null && !services.isEmpty()) {
|
||||
String[] methods = services.values().stream().findFirst().get().getParameter(CommonConstants.METHODS_KEY).split(",");
|
||||
|
|
Loading…
Reference in New Issue