parent
dcdbdd15ac
commit
720774fcf4
@ -85,6 +85,8 @@ describe('GET /api/stats/organizations/* should return 200', () => {
|
|||||||
});
|
});
|
||||||
it('get by donations w/ auth should return 200', async () => {
|
it('get by donations w/ auth should return 200', async () => {
|
||||||
const res = await axios.get(base + '/api/stats/organizations/donations', axios_config_stats);
|
const res = await axios.get(base + '/api/stats/organizations/donations', axios_config_stats);
|
||||||
|
console.log("################# Orgs by donations #################");
|
||||||
|
console.log(res.data);
|
||||||
expect(res.status).toEqual(200);
|
expect(res.status).toEqual(200);
|
||||||
expect(res.headers['content-type']).toContain("application/json");
|
expect(res.headers['content-type']).toContain("application/json");
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user