Switched tests over to the new id-only schema
All checks were successful
continuous-integration/drone/pr Build is passing

ref #90
This commit is contained in:
2021-01-15 18:50:35 +01:00
parent 420e9c4662
commit d88fb18319
3 changed files with 20 additions and 15 deletions

View File

@@ -34,7 +34,7 @@ describe('POST /api/donors with errors', () => {
"firstname": "first",
"middlename": "middle",
"lastname": "last",
"address": 0
"address": 99999999999999999999999999
}, axios_config);
expect(res2.status).toEqual(404);
expect(res2.headers['content-type']).toContain("application/json")