Merge branch 'feature/REQ-1419' of https://axzsource.com/zuoqinbo/im-center into feature/REQ-1419
This commit is contained in:
commit
a850d3a622
7
integration-test/src/test/resources/reponse-check.js
Normal file
7
integration-test/src/test/resources/reponse-check.js
Normal file
@ -0,0 +1,7 @@
|
||||
client.test("request executed successful", function () {
|
||||
client.assert(response.status == 200, "Response status is not 200")
|
||||
});
|
||||
|
||||
client.test("response body status successful", function () {
|
||||
client.assert(response.body.code == 0, "Response body code is not 0")
|
||||
});
|
||||
14
integration-test/src/test/resources/rest-client.env.json
Normal file
14
integration-test/src/test/resources/rest-client.env.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"local": {
|
||||
"host": "http://localhost:8080"
|
||||
},
|
||||
"dev": {
|
||||
"host": "https://dev-app.axzo.cn/"
|
||||
},
|
||||
"test": {
|
||||
"host": "https://test-api.axzo.cn/"
|
||||
},
|
||||
"pre": {
|
||||
"host": "https://pre-api.axzo.cn/"
|
||||
}
|
||||
}
|
||||
29
integration-test/src/test/resources/role-user.http
Normal file
29
integration-test/src/test/resources/role-user.http
Normal file
@ -0,0 +1,29 @@
|
||||
###
|
||||
POST {{host}}/api/saas-role-user/list
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"identityIds": [809,631]
|
||||
}
|
||||
|
||||
> reponse-check.js
|
||||
|
||||
###
|
||||
POST {{host}}/api/saas-role-user/delete
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
> reponse-check.js
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user