@@ -49,6 +49,7 @@ describe('adding + updating name', () => {
|
||||
"country": null,
|
||||
"postalcode": null,
|
||||
},
|
||||
"registrationEnabled": false,
|
||||
"teams": []
|
||||
})
|
||||
});
|
||||
@@ -116,6 +117,7 @@ describe('adding + updateing address valid)', () => {
|
||||
"country": "Burkina Faso",
|
||||
"postalcode": "90174"
|
||||
},
|
||||
"registrationEnabled": false,
|
||||
"teams": []
|
||||
});
|
||||
});
|
||||
@@ -145,6 +147,7 @@ describe('adding + updateing address valid)', () => {
|
||||
"country": "Burkina Faso",
|
||||
"postalcode": "90174"
|
||||
},
|
||||
"registrationEnabled": false,
|
||||
"teams": []
|
||||
});
|
||||
});
|
||||
@@ -174,6 +177,7 @@ describe('adding + updateing address valid)', () => {
|
||||
"country": "Burkina Faso",
|
||||
"postalcode": "90174"
|
||||
},
|
||||
"registrationEnabled": false,
|
||||
"teams": []
|
||||
});
|
||||
});
|
||||
@@ -203,6 +207,7 @@ describe('adding + updateing address valid)', () => {
|
||||
"country": "Burkina Faso",
|
||||
"postalcode": "90174"
|
||||
},
|
||||
"registrationEnabled": false,
|
||||
"teams": []
|
||||
});
|
||||
});
|
||||
@@ -232,6 +237,7 @@ describe('adding + updateing address valid)', () => {
|
||||
"country": "Germany",
|
||||
"postalcode": "90174"
|
||||
},
|
||||
"registrationEnabled": false,
|
||||
"teams": []
|
||||
});
|
||||
});
|
||||
@@ -261,14 +267,15 @@ describe('adding + updateing address valid)', () => {
|
||||
"country": "Germany",
|
||||
"postalcode": "91065"
|
||||
},
|
||||
"registrationEnabled": false,
|
||||
"teams": []
|
||||
});
|
||||
});
|
||||
it('removing org\'s should return 200', async () => {
|
||||
it('removing org\'s address should return 200', async () => {
|
||||
const res = await axios.put(base + '/api/organisations/' + added_org_id, {
|
||||
"id": added_org_id,
|
||||
"name": "testlelele",
|
||||
"contact": null
|
||||
"contact": null,
|
||||
}, axios_config);
|
||||
expect(res.status).toEqual(200);
|
||||
expect(res.headers['content-type']).toContain("application/json");
|
||||
@@ -283,6 +290,7 @@ describe('adding + updateing address valid)', () => {
|
||||
"country": null,
|
||||
"postalcode": null
|
||||
},
|
||||
"registrationEnabled": false,
|
||||
"teams": []
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user