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

@@ -323,7 +323,7 @@ describe('adding + updating distance donation valid', () => {
"amountPerDistance": 69,
"donor": added_donor.id
}, axios_config);
delete res.data.runner.group;
delete res.data.runner;
expect(res.status).toEqual(200);
expect(res.headers['content-type']).toContain("application/json");
expect(res.data.runner).toEqual(added_runner2);