@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user