@@ -63,6 +63,7 @@ describe('adding + getting from all orgs', () => {
 | 
			
		||||
                "country": null,
 | 
			
		||||
                "postalcode": null,
 | 
			
		||||
            },
 | 
			
		||||
            "registrationEnabled": false,
 | 
			
		||||
            "teams": []
 | 
			
		||||
        })
 | 
			
		||||
    });
 | 
			
		||||
@@ -96,6 +97,7 @@ describe('adding + getting explicitly', () => {
 | 
			
		||||
                "country": null,
 | 
			
		||||
                "postalcode": null,
 | 
			
		||||
            },
 | 
			
		||||
            "registrationEnabled": false,
 | 
			
		||||
            "teams": []
 | 
			
		||||
        })
 | 
			
		||||
    });
 | 
			
		||||
 
 | 
			
		||||
@@ -51,6 +51,7 @@ describe('adding + deletion (successfull)', () => {
 | 
			
		||||
                "country": null,
 | 
			
		||||
                "postalcode": null,
 | 
			
		||||
            },
 | 
			
		||||
            "registrationEnabled": false,
 | 
			
		||||
            "teams": []
 | 
			
		||||
        });
 | 
			
		||||
    });
 | 
			
		||||
@@ -134,6 +135,7 @@ describe('adding + deletion with teams still existing (with force)', () => {
 | 
			
		||||
                "country": null,
 | 
			
		||||
                "postalcode": null,
 | 
			
		||||
            },
 | 
			
		||||
            "registrationEnabled": false,
 | 
			
		||||
        });
 | 
			
		||||
    });
 | 
			
		||||
    it('check if org really was deleted', async () => {
 | 
			
		||||
 
 | 
			
		||||
@@ -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