Fixed test params
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
ref #99
This commit is contained in:
parent
536900091a
commit
070560e863
|
@ -27,11 +27,14 @@ describe('adding + deletion (successfull)', () => {
|
|||
let added_user
|
||||
it('valid user creation with minimal parameters should return 200', async () => {
|
||||
const res = await axios.post(base + '/api/users', {
|
||||
"firstname": "demo_createASD123",
|
||||
"lastname": "demo_createASD123",
|
||||
"password": "demo_createASD123",
|
||||
"email": "demo_createASD123@dev.lauf-fuer-kaya.de"
|
||||
}, axios_config);
|
||||
"firstname": "string",
|
||||
"middlename": "string",
|
||||
"lastname": "string",
|
||||
"email": "demo_123_123_123asdASD@example.com",
|
||||
"password": "demo_123_123_123asdASD",
|
||||
"enabled": true
|
||||
}
|
||||
, axios_config);
|
||||
added_user = res.data;
|
||||
expect(res.status).toEqual(200);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue