Web: Client: Tests: mock data
This commit is contained in:
parent
f59648230d
commit
9e5253a812
@ -10,4 +10,22 @@ module.exports = class Endpoints {
|
||||
method: "GET",
|
||||
baseDir: "settings",
|
||||
};
|
||||
|
||||
static build = {
|
||||
url: ["http://localhost:8092/api/2.0/settings/version/build.json"],
|
||||
method: "GET",
|
||||
baseDir: "settings",
|
||||
};
|
||||
|
||||
static password = {
|
||||
url: ["http://localhost:8092/api/2.0/settings/security/password"],
|
||||
method: "GET",
|
||||
baseDir: "settings",
|
||||
};
|
||||
|
||||
static providers = {
|
||||
url: ["http://localhost:8092/api/2.0/people/thirdparty/providers"],
|
||||
method: "GET",
|
||||
baseDir: "people",
|
||||
};
|
||||
};
|
||||
|
@ -0,0 +1,22 @@
|
||||
{
|
||||
"count": 3,
|
||||
"response": [
|
||||
{
|
||||
"provider": "google",
|
||||
"url": "/login.ashx?auth=google&mode=popup&callback=",
|
||||
"linked": false
|
||||
},
|
||||
{
|
||||
"provider": "facebook",
|
||||
"url": "/login.ashx?auth=facebook&mode=popup&callback=",
|
||||
"linked": false
|
||||
},
|
||||
{
|
||||
"provider": "linkedin",
|
||||
"url": "/login.ashx?auth=linkedin&mode=popup&callback=",
|
||||
"linked": false
|
||||
}
|
||||
],
|
||||
"status": 0,
|
||||
"statusCode": 200
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
{
|
||||
"count": 1,
|
||||
"response": {
|
||||
"communityServer": "11.5.0",
|
||||
"documentServer": "4.1.5.1",
|
||||
"mailServer": ""
|
||||
},
|
||||
"status": 0,
|
||||
"statusCode": 200
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
{
|
||||
"count": 1,
|
||||
"response": {
|
||||
"id": "EXAMPLEID",
|
||||
"minLength": 8,
|
||||
"upperCase": false,
|
||||
"digits": false,
|
||||
"specSymbols": false
|
||||
},
|
||||
"status": 0,
|
||||
"statusCode": 200
|
||||
}
|
Loading…
Reference in New Issue
Block a user