Changed organisation* to organization* in descriptions, comments and endoints ✏
ref #117
This commit is contained in:
@@ -14,15 +14,15 @@ beforeAll(async () => {
|
||||
};
|
||||
});
|
||||
|
||||
describe('GET /api/organisations', () => {
|
||||
describe('GET /api/organizations', () => {
|
||||
it('basic get should return 200', async () => {
|
||||
const res = await axios.get(base + '/api/organisations', axios_config);
|
||||
const res = await axios.get(base + '/api/organizations', axios_config);
|
||||
expect(res.status).toEqual(200);
|
||||
expect(res.headers['content-type']).toContain("application/json")
|
||||
});
|
||||
});
|
||||
// ---------------
|
||||
describe('GET /api/organisations/0', () => {
|
||||
describe('GET /api/organizations/0', () => {
|
||||
it('basic get should return 404', async () => {
|
||||
const res = await axios.get(base + '/api/runners/0', axios_config);
|
||||
expect(res.status).toEqual(404);
|
||||
|
||||
Reference in New Issue
Block a user