Adjusted tests for the new responseType parameter (part 1)

ref #132
This commit is contained in:
2021-01-29 18:46:15 +01:00
parent 2a87819486
commit bcc15e4286
18 changed files with 113 additions and 62 deletions

View File

@@ -55,7 +55,6 @@ describe('adding + getting from all orgs', () => {
delete added_org.id
expect(added_org).toEqual({
"name": "test123",
"contact": null,
"address": {
"address1": null,
"address2": null,
@@ -64,7 +63,8 @@ describe('adding + getting from all orgs', () => {
"postalcode": null,
},
"registrationEnabled": false,
"teams": []
"teams": [],
"responseType": "RUNNERORGANIZATION"
})
});
});
@@ -89,7 +89,6 @@ describe('adding + getting explicitly', () => {
delete added_org2.id
expect(added_org2).toEqual({
"name": "test123",
"contact": null,
"address": {
"address1": null,
"address2": null,
@@ -98,7 +97,8 @@ describe('adding + getting explicitly', () => {
"postalcode": null,
},
"registrationEnabled": false,
"teams": []
"teams": [],
"responseType": "RUNNERORGANIZATION"
})
});
});