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

@@ -49,6 +49,7 @@ describe('Update runner name after adding', () => {
delete res3.data.group.key;
delete res3.data.group.registrationEnabled;
delete runnercopy.group.registrationEnabled;
delete res3.data.group.teams;
expect(res3.data).toEqual(runnercopy);
});
});
@@ -94,6 +95,7 @@ describe('Update runner group after adding', () => {
expect(res3.headers['content-type']).toContain("application/json")
delete res3.data.group.key;
delete res3.data.group.registrationEnabled;
delete res3.data.group.teams;
expect(res3.data.group).toEqual(added_org_2);
});
});