@@ -123,7 +123,6 @@ describe('POST /api/contacts working (with group)', () => {
|
||||
"parentGroup": added_org.id
|
||||
}, axios_config);
|
||||
delete res.data.contact;
|
||||
delete res.data.parentGroup;
|
||||
added_team = res.data;
|
||||
expect(res.status).toEqual(200);
|
||||
expect(res.headers['content-type']).toContain("application/json")
|
||||
|
||||
@@ -74,7 +74,6 @@ describe('Update contact group after adding (should work)', () => {
|
||||
"parentGroup": added_org.id
|
||||
}, axios_config);
|
||||
delete res.data.contact;
|
||||
delete res.data.parentGroup;
|
||||
added_team = res.data;
|
||||
expect(res.status).toEqual(200);
|
||||
expect(res.headers['content-type']).toContain("application/json")
|
||||
@@ -112,6 +111,7 @@ describe('Update contact group after adding (should work)', () => {
|
||||
"lastname": "last",
|
||||
"groups": added_team.id
|
||||
}, axios_config);
|
||||
console.log(res.data)
|
||||
expect(res.status).toEqual(200);
|
||||
expect(res.headers['content-type']).toContain("application/json");
|
||||
expect(res.data).toEqual({
|
||||
|
||||
Reference in New Issue
Block a user