Adjusted tests for the new responseType parameter (part 2)

ref #132
This commit is contained in:
2021-01-30 15:39:39 +01:00
parent bcc15e4286
commit ff8af090e3
5 changed files with 5 additions and 2 deletions

View File

@@ -210,6 +210,7 @@ describe('Update contact group invalid after adding (should fail)', () => {
expect(res.status).toEqual(200);
expect(res.headers['content-type']).toContain("application/json");
added_contact = res.data
delete res.data.groups[0].teams;
expect(res.data).toEqual({
"id": res.data.id,
"firstname": "first",