Fixed typos

ref #66
This commit is contained in:
Nicolai Ort 2021-01-12 20:14:23 +01:00
parent 4a0f75044f
commit badff85e28
2 changed files with 4 additions and 4 deletions

View File

@ -14,9 +14,9 @@ beforeAll(async () => {
};
});
describe('DELETE scan (non-existant)', () => {
describe('DELETE donation (non-existant)', () => {
it('delete', async () => {
const res = await axios.delete(base + '/api/scans/0', axios_config);
const res = await axios.delete(base + '/api/donations/0', axios_config);
expect(res.status).toEqual(204);
});
});

View File

@ -51,7 +51,7 @@ describe('adding + getting fixed donation', () => {
expect(res.status).toEqual(200);
expect(res.headers['content-type']).toContain("application/json")
});
it('check if scans was added (no parameter validation)', async () => {
it('check if donation was added (no parameter validation)', async () => {
const res = await axios.get(base + '/api/donations/' + added_donation.id, axios_config);
expect(res.status).toEqual(200);
expect(res.headers['content-type']).toContain("application/json");
@ -100,7 +100,7 @@ describe('adding + getting distance donation', () => {
expect(res.status).toEqual(200);
expect(res.headers['content-type']).toContain("application/json")
});
it('check if scans was added (no parameter validation)', async () => {
it('check if donation was added (no parameter validation)', async () => {
const res = await axios.get(base + '/api/donations/' + added_donation.id, axios_config);
expect(res.status).toEqual(200);
expect(res.headers['content-type']).toContain("application/json");