Fixed donor address check

ref #105
This commit is contained in:
2021-01-16 18:52:57 +01:00
parent 8dbee32eee
commit 4824547dde
4 changed files with 8 additions and 6 deletions

View File

@@ -60,7 +60,7 @@ describe('Update donor without address but receiptNeeded=true should fail', () =
it('creating a new donor with only needed params should return 200', async () => {
const res2 = await axios.post(base + '/api/donors', {
"firstname": "first",
"lastname": "last",
"lastname": "testtest",
}, axios_config);
added_donor = res2.data;
expect(res2.status).toEqual(200);