Commit 55f123b9 authored by 龚小红's avatar 龚小红

Merge branch 'gifeature/20211220-gj' into 'master'

集客助手上传链接接口修改

See merge request test-group/kejiji!198
parents fb636a3c 80e42331
...@@ -30,7 +30,7 @@ public class Upload implements Authorization { ...@@ -30,7 +30,7 @@ public class Upload implements Authorization {
Map<String,Object> params = new HashMap<>(); Map<String,Object> params = new HashMap<>();
params.put("type",1); params.put("type",1);
Response response = network.getResponse(params,Daily_getHomeConf); Response response = network.getResponse(params,Daily_getHomeConf);
Object resourceLocatorName = response.jsonPath().getJsonObject("data.get(4).resourceLocatorName"); Object resourceLocatorName = response.jsonPath().getJsonObject("data.get(3).resourceLocatorName");
Assert.assertEquals(resourceLocatorName,"上传链接", network.message(params,Daily_getHomeConf,"获取上传链接配置失败",response.body().asString())); Assert.assertEquals(resourceLocatorName,"上传链接", network.message(params,Daily_getHomeConf,"获取上传链接配置失败",response.body().asString()));
} }
@Test(description = "爬虫支持的域名",priority = 2) @Test(description = "爬虫支持的域名",priority = 2)
......
Markdown is supported
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