@@ -179,7 +179,8 @@ describe('POST /api/donations/fixed successfully', () => {
|
||||
expect(res.headers['content-type']).toContain("application/json");
|
||||
expect(res.data).toEqual({
|
||||
"donor": added_donor,
|
||||
"amount": 1000
|
||||
"amount": 1000,
|
||||
"responseType": "DONATION"
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -230,7 +231,8 @@ describe('POST /api/donations/distance successfully', () => {
|
||||
"donor": added_donor,
|
||||
"amountPerDistance": 100,
|
||||
"runner": added_runner,
|
||||
"amount": 0
|
||||
"amount": 0,
|
||||
"responseType": "DISTANCEDONATION"
|
||||
})
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user