Fixed spelling
All checks were successful
continuous-integration/drone/pr Build is passing

ref #193
This commit is contained in:
2021-04-14 18:54:02 +02:00
parent 8ae4b85827
commit da266a8dd6
13 changed files with 38 additions and 37 deletions

View File

@@ -181,7 +181,7 @@ describe('POST /api/donations/fixed successfully', () => {
expect(res.data).toEqual({
"donor": added_donor,
"amount": 1000,
"payedAmount": 0,
"paidAmount": 0,
"status": "OPEN",
"responseType": "DONATION"
});
@@ -190,7 +190,7 @@ describe('POST /api/donations/fixed successfully', () => {
const res = await axios.post(base + '/api/donations/fixed', {
"donor": added_donor.id,
"amount": 1000,
"payedAmount": 1000
"paidAmount": 1000
}, axios_config);
delete res.data.id;
expect(res.status).toEqual(200);
@@ -198,8 +198,8 @@ describe('POST /api/donations/fixed successfully', () => {
expect(res.data).toEqual({
"donor": added_donor,
"amount": 1000,
"payedAmount": 1000,
"status": "PAYED",
"paidAmount": 1000,
"status": "PAID",
"responseType": "DONATION"
});
});
@@ -252,8 +252,8 @@ describe('POST /api/donations/distance successfully', () => {
"amountPerDistance": 100,
"runner": added_runner,
"amount": 0,
"payedAmount": 0,
"status": "PAYED",
"paidAmount": 0,
"status": "PAID",
"responseType": "DISTANCEDONATION"
})
});
@@ -262,7 +262,7 @@ describe('POST /api/donations/distance successfully', () => {
"runner": added_runner.id,
"amountPerDistance": 100,
"donor": added_donor.id,
"payedAmount": 1000
"paidAmount": 1000
}, axios_config);
delete res.data.id;
expect(res.status).toEqual(200);
@@ -272,8 +272,8 @@ describe('POST /api/donations/distance successfully', () => {
"amountPerDistance": 100,
"runner": added_runner,
"amount": 0,
"payedAmount": 1000,
"status": "PAYED",
"paidAmount": 1000,
"status": "PAID",
"responseType": "DISTANCEDONATION"
})
});