Removed addresses from tests until the circular dependencies are solved
ref #65
This commit is contained in:
@@ -56,7 +56,7 @@ describe('adding + getting from all orgs', () => {
|
||||
expect(added_org).toEqual({
|
||||
"name": "test123",
|
||||
"contact": null,
|
||||
"address": null,
|
||||
// "address": null,
|
||||
"teams": []
|
||||
})
|
||||
});
|
||||
@@ -83,7 +83,7 @@ describe('adding + getting explicitly', () => {
|
||||
expect(added_org2).toEqual({
|
||||
"name": "test123",
|
||||
"contact": null,
|
||||
"address": null,
|
||||
// "address": null,
|
||||
"teams": []
|
||||
})
|
||||
});
|
||||
|
||||
@@ -44,7 +44,7 @@ describe('adding + deletion (successfull)', () => {
|
||||
expect(added_org2).toEqual({
|
||||
"name": "test123",
|
||||
"contact": null,
|
||||
"address": null,
|
||||
// "address": null,
|
||||
"teams": []
|
||||
});
|
||||
});
|
||||
@@ -121,7 +121,7 @@ describe('adding + deletion with teams still existing (with force)', () => {
|
||||
expect(added_org2).toEqual({
|
||||
"name": "test123",
|
||||
"contact": null,
|
||||
"address": null
|
||||
// "address": null
|
||||
});
|
||||
});
|
||||
it('check if org really was deleted', async () => {
|
||||
|
||||
@@ -32,7 +32,7 @@ describe('adding + updating name', () => {
|
||||
"id": added_org_id,
|
||||
"name": "testlelele",
|
||||
"contact": null,
|
||||
"address": null,
|
||||
// "address": null,
|
||||
}, axios_config);
|
||||
expect(res2.status).toEqual(200);
|
||||
expect(res2.headers['content-type']).toContain("application/json")
|
||||
@@ -42,7 +42,7 @@ describe('adding + updating name', () => {
|
||||
expect(added_org2).toEqual({
|
||||
"name": "testlelele",
|
||||
"contact": null,
|
||||
"address": null,
|
||||
// "address": null,
|
||||
"teams": []
|
||||
})
|
||||
});
|
||||
@@ -65,7 +65,7 @@ describe('adding + try updating id (should return 406)', () => {
|
||||
"id": added_org_id + 1,
|
||||
"name": "testlelele",
|
||||
"contact": null,
|
||||
"address": null,
|
||||
// "address": null,
|
||||
}, axios_config);
|
||||
expect(res2.status).toEqual(406);
|
||||
expect(res2.headers['content-type']).toContain("application/json")
|
||||
|
||||
Reference in New Issue
Block a user