Changed organisation* to organization* in descriptions, comments and endoints ✏
ref #117
This commit is contained in:
		@@ -58,7 +58,7 @@ describe('POST /api/teams with errors', () => {
 | 
			
		||||
describe('POST /api/teams working', () => {
 | 
			
		||||
    let added_org_id;
 | 
			
		||||
    it('creating a new org with just a name should return 200', async () => {
 | 
			
		||||
        const res1 = await axios.post(base + '/api/organisations', {
 | 
			
		||||
        const res1 = await axios.post(base + '/api/organizations', {
 | 
			
		||||
            "name": "test123"
 | 
			
		||||
        }, axios_config);
 | 
			
		||||
        let added_org = res1.data
 | 
			
		||||
 
 | 
			
		||||
@@ -21,7 +21,7 @@ describe('adding org', () => {
 | 
			
		||||
    let added_team;
 | 
			
		||||
    let added_team_id
 | 
			
		||||
    it('creating a new org with just a name should return 200', async () => {
 | 
			
		||||
        const res1 = await axios.post(base + '/api/organisations', {
 | 
			
		||||
        const res1 = await axios.post(base + '/api/organizations', {
 | 
			
		||||
            "name": "test123"
 | 
			
		||||
        }, axios_config);
 | 
			
		||||
        added_org = res1.data;
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@ describe('adding + updating name', () => {
 | 
			
		||||
    let added_team;
 | 
			
		||||
    let added_team_id
 | 
			
		||||
    it('creating a new org with just a name should return 200', async () => {
 | 
			
		||||
        const res1 = await axios.post(base + '/api/organisations', {
 | 
			
		||||
        const res1 = await axios.post(base + '/api/organizations', {
 | 
			
		||||
            "name": "test123"
 | 
			
		||||
        }, axios_config);
 | 
			
		||||
        added_org = res1.data;
 | 
			
		||||
@@ -59,7 +59,7 @@ describe('adding + try updating id (should return 406)', () => {
 | 
			
		||||
    let added_team;
 | 
			
		||||
    let added_team_id
 | 
			
		||||
    it('creating a new org with just a name should return 200', async () => {
 | 
			
		||||
        const res1 = await axios.post(base + '/api/organisations', {
 | 
			
		||||
        const res1 = await axios.post(base + '/api/organizations', {
 | 
			
		||||
            "name": "test123"
 | 
			
		||||
        }, axios_config);
 | 
			
		||||
        added_org = res1.data;
 | 
			
		||||
@@ -92,7 +92,7 @@ describe('add+update parent org (valid)', () => {
 | 
			
		||||
    let added_team;
 | 
			
		||||
    let added_team_id
 | 
			
		||||
    it('creating a new org with just a name should return 200', async () => {
 | 
			
		||||
        const res1 = await axios.post(base + '/api/organisations', {
 | 
			
		||||
        const res1 = await axios.post(base + '/api/organizations', {
 | 
			
		||||
            "name": "test123"
 | 
			
		||||
        }, axios_config);
 | 
			
		||||
        added_org = res1.data;
 | 
			
		||||
@@ -110,7 +110,7 @@ describe('add+update parent org (valid)', () => {
 | 
			
		||||
        expect(res2.headers['content-type']).toContain("application/json")
 | 
			
		||||
    });
 | 
			
		||||
    it('creating a new org with just a name should return 200', async () => {
 | 
			
		||||
        const res3 = await axios.post(base + '/api/organisations', {
 | 
			
		||||
        const res3 = await axios.post(base + '/api/organizations', {
 | 
			
		||||
            "name": "test123"
 | 
			
		||||
        }, axios_config);
 | 
			
		||||
        added_org2 = res3.data;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user