{"action":"created","comment":{"url":"https://api.github.com/repos/enJames/BEConnect/pulls/comments/188415984","pull_request_review_id":120390209,"id":188415984,"diff_hunk":"@@ -6,312 +6,431 @@ chai.use(chaiHttp);\n const { assert, should } = chai;\n should();\n \n-// POST Business route tests\n-describe('POST BUSINESSES TESTS', () => {\n-    describe('When a user sends a POST request to \"/api/v1/businesses\"', () => {\n-        it('It should return a 201 status', (done) => {\n+// Add test businesses\n+describe('ADD BUSINESSES', () => {\n+    describe('Add test businesses\"', () => {\n+        it('On success(1):: return status:201, -- just post a business', (done) => {\n             chai.request(app)\n                 .post('/api/v1/businesses')\n                 .send({\n-                    businessName: 'Hamilton Berkleys',\n-                    category: 'Food',\n-                    state: 'Kano'\n+                    businessName: 'Franchizy',\n+                    category: 'Hospitality',\n+                    mantra: 'Good is good',\n+                    email: 'info@franchizy.com',\n+                    website: 'www.franchizy.com',\n+                    phone: '01-4612879',\n+                    addressOne: '16, lane street',\n+                    addressTwo: 'Opposite church Road',\n+                    city: 'Ilasamaja',\n+                    state: 'Ondo',\n+                    country: 'Nigeria',\n+                    userIdentifier: 1\n                 })\n                 .end((req, res) => {\n                     res.should.have.status(201);\n                     done();\n                 });\n         });\n-        it('It should return an object', (done) => {\n+        it('On success(2):: return status:201, -- just post a business', (done) => {\n             chai.request(app)\n                 .post('/api/v1/businesses')\n                 .send({\n-                    businessName: 'Hamilton Berkleys',\n-                    category: 'Food',\n-                    state: 'Kano'\n+                    businessName: 'Mosili',\n+                    category: 'Technology',\n+                    mantra: 'The future is here',\n+                    email: 'info@mosili.com',\n+                    website: 'www.mosili.com',\n+                    phone: '01-46175679',\n+                    addressOne: '25, Arico street',\n+                    addressTwo: 'Beside Remisine building',\n+                    city: 'Arepo',\n+                    state: 'Lagos',\n+                    country: 'Nigeria',\n+                    userIdentifier: 1\n                 })\n                 .end((req, res) => {\n-                    res.body.should.be.an('object');\n-                    done();\n-                });\n-        });\n-        it('Response message should equal \"Registration successful!\"', (done) => {\n-            chai.request(app)\n-                .post('/api/v1/businesses')\n-                .send({\n-                    businessName: 'Hamilton Berkleys',\n-                    category: 'Food',\n-                    state: 'Kano'\n-                })\n-                .end((req, res) => {\n-                    assert.equal(res.body.message, 'Registration successful!');\n+                    res.should.have.status(201);\n                     done();\n                 });\n         });\n-        it('It should return a 400 if a field is not set.\"', (done) => {\n+        it('On success(3):: return status:201, -- just post a business', (done) => {\n             chai.request(app)\n                 .post('/api/v1/businesses')\n                 .send({\n-                    businessName: 'Hamisc Berkleys',\n-                    category: '',\n-                    state: 'Sokoto'\n+                    businessName: 'Selphed Limited',\n+                    category: 'Education',\n+                    mantra: 'Grow is inevitable',\n+                    email: 'info@selphed.com',\n+                    website: 'www.selphed.com',\n+                    phone: '01-6627279',\n+                    addressOne: 'Plot 16, Visciris close',\n+                    addressTwo: 'Rustill Avenue',\n+                    city: 'Adricity',\n+                    state: 'Fortil',\n+                    country: 'Amianich',\n+                    userIdentifier: 2\n                 })\n                 .end((req, res) => {\n-                    res.should.have.status(400);\n+                    res.should.have.status(201);\n                     done();\n                 });\n         });\n-        it('It should return a message \"Fill out all fields\" if a field (or more) is/are not set', (done) => {\n+        it('On success(4):: return status:201, -- just post a business', (done) => {\n             chai.request(app)\n                 .post('/api/v1/businesses')\n                 .send({\n-                    businessName: 'Hamisc Berkleys',\n-                    category: '',\n-                    state: 'Sokoto'\n+                    businessName: 'Zintilia Records',\n+                    category: 'Entertainment',\n+                    mantra: 'We live it',\n+                    email: 'info@zintilia.com',\n+                    website: 'www.zintilia.com',\n+                    phone: '01-7614879',\n+                    addressOne: 'Plot 2A, Nostril street',\n+                    addressTwo: 'Forte mont crescent',\n+                    city: 'Dealbore',\n+                    state: 'Onstalli',\n+                    country: 'Cambriana',\n+                    userIdentifier: 2\n                 })\n                 .end((req, res) => {\n-                    assert.equal(res.body.message, 'Fill out all fields');\n+                    res.should.have.status(201);\n                     done();\n                 });\n         });\n     });\n });\n \n-// Update business route tests\n-describe('PUT BUSINESSES TESTS', () => {\n-    describe('When a user sends a PUT request to \"/api/v1/businesses/:businessId\"', () => {\n-        it('It should return a 200 status', (done) => {\n-            chai.request(app)\n-                .put('/api/v1/businesses/4')\n-                .send({\n-                    state: 'Oyo'\n-                })\n-                .end((req, res) => {\n-                    res.should.have.status(200);\n-                    done();\n-                });\n-        });\n-        it('It should return an object', (done) => {\n+// POST Business route tests\n+describe('POST BUSINESSES TESTS', () => {\n+    describe('When a user sends a POST request to \"/api/v1/businesses\"', () => {\n+        /* it('if a field is not set:: return status:400, msg:Fill out all fields', (done) => {\n             chai.request(app)\n-                .put('/api/v1/businesses/3')\n+                .post('/api/v1/businesses')\n                 .send({\n-                    category: 'Mining'\n+                    businessName: 'Hamilton Berkleys',\n+                    category: 'Hospitality',\n+                    mantra: 'Good is good',\n+                    email: 'info@franchizy.com',\n+                    website: 'www.franchizy.com',\n+                    phone: '01-4612879',\n+                    addressOne: '16, lane street',\n+                    addressTwo: 'Opposite church Road',\n+                    city: 'Ilasamaja',\n+                    state: 'Ondo',\n+                    country: 'Nigeria',\n+                    userIdentifier: 1\n                 })\n                 .end((req, res) => {\n-                    res.body.should.be.an('object');\n+                    res.should.have.status(400);\n+                    assert.equal(res.body.message, 'Fill out all fields');\n                     done();\n                 });\n-        });\n-        it('Response message should equal \"Business updated!\"', (done) => {\n+        }); */\n+        it('On error--unique violation:: return status:409, msg:Business name already exists', (done) => {\n             chai.request(app)\n-                .put('/api/v1/businesses/4')\n+                .post('/api/v1/businesses')\n                 .send({\n-                    state: 'Lagos'\n+                    businessName: 'Selphed Limited',\n+                    category: 'Hospitality',\n+                    mantra: 'Learn learn',\n+                    email: 'info@selphedltd.com',\n+                    website: 'www.selphedltd.com',\n+                    phone: '01-8452879',\n+                    addressOne: 'Maina close',\n+                    addressTwo: 'Trans Amadi',\n+                    city: 'Port Harcourt',\n+                    state: 'Rivers',\n+                    country: 'Nigeria',\n+                    userIdentifier: 1\n                 })\n                 .end((req, res) => {\n-                    assert.equal(res.body.message, 'Business updated!');\n+                    res.should.have.status(409);\n+                    assert.equal(res.body.message, 'Business name already exists');\n                     done();\n                 });\n         });\n-        it('It should return a 404 status if business is not found.\"', (done) => {\n+        it('On success:: return status:201, msg:Hamilton Berkleys has been registered successfully', (done) => {\n             chai.request(app)\n-                .put('/api/v1/businesses/10')\n+                .post('/api/v1/businesses')\n                 .send({\n-                    businessName: 'Hamisc Berkleys Limited'\n+                    businessName: 'Hamilton Berkleys',\n+                    category: 'Hospitality',\n+                    mantra: 'Good is good',\n+                    email: 'info@hamiltonberkleys.com',\n+                    website: 'www.hamiltonberkleys.com',\n+                    phone: '01-5712800',\n+                    addressOne: '875, Alanin street',\n+                    addressTwo: 'Alshazara Centre',\n+                    city: 'Estinno',\n+                    state: 'Installia',\n+                    country: 'Abrevia',\n+                    userIdentifier: 2\n                 })\n                 .end((req, res) => {\n-                    res.should.have.status(404);\n+                    res.should.have.status(201);\n+                    assert.equal(res.body.message, 'Hamilton Berkleys has been registered successfully');\n                     done();\n                 });\n         });\n-        it('It should return a message \"Business not found.\" if business does not exist', (done) => {\n+        it('If POST error:: return status:500', (done) => {\n             chai.request(app)\n-                .put('/api/v1/businesses/10')\n+                .post('/api/v1/businesses')\n                 .send({\n-                    businessName: 'Hamisc Berkleys Limited'\n+                    businessName: 'Boston Limited',\n+                    category: 'Agriculture',\n+                    mantra: 'Eat to hell',\n+                    email: 'info@boston.com',\n+                    website: 'www.boston.com',\n+                    phone: '01-4856479',\n+                    addressOne: 'Ill blink close',\n+                    addressTwo: 'Opposite Roso farms',\n+                    city: 'Apa',\n+                    state: 'Benue',\n+                    country: 'Nigeria',\n+                    userIdentifier: 'string'\n                 })\n                 .end((req, res) => {\n-                    assert.equal(res.body.message, 'Business not found!');\n+                    res.should.have.status(500);\n                     done();\n                 });\n         });\n     });\n });\n \n-// Delete business route tests\n-describe('DELETE BUSINESSES TESTS', () => {\n-    describe('When a user sends a DELETE request to \"/api/v1/businesses/:businessId\"', () => {\n-        it('It should return a 202 status', (done) => {\n-            chai.request(app)\n-                .delete('/api/v1/businesses/4')\n-                .end((req, res) => {\n-                    res.should.have.status(202);\n-                    done();\n-                });\n-        });\n-        it('It should return an object', (done) => {\n+// Get a business route tests\n+describe('GET A BUSINESS TESTS', () => {\n+    describe('When a user sends a GET request to \"/api/v1/businesses/:businessId\"', () => {\n+        it('if Business not found:: return status:404, msg:Business not found', (done) => {\n             chai.request(app)\n-                .delete('/api/v1/businesses/3')\n+                .get('/api/v1/businesses/10')\n                 .end((req, res) => {\n-                    res.body.should.be.an('object');\n+                    res.should.have.status(404);\n+                    assert.equal(res.body.message, 'Business not found');\n                     done();\n                 });\n         });\n-        it('Response message should equal \"Business deleted!\"', (done) => {\n+        it('On success:: return status:200, msg:Business found', (done) => {\n             chai.request(app)\n-                .delete('/api/v1/businesses/2')\n+                .get('/api/v1/businesses/1')\n                 .end((req, res) => {\n-                    assert.equal(res.body.message, 'Business deleted!');\n+                    res.should.have.status(200);\n+                    assert.equal(res.body.message, 'Business found');\n                     done();\n                 });\n         });\n-        it('It should return a 404 status if business is not found.\"', (done) => {\n+        it('On Get error--id:: return status:500', (done) => {\n             chai.request(app)\n-                .delete('/api/v1/businesses/10')\n+                .get('/api/v1/businesses/string')\n                 .end((req, res) => {\n-                    res.should.have.status(404);\n+                    res.should.have.status(500);\n                     done();\n                 });\n         });\n-        it('It should return a message \"Business not found!\" if business does not exist', (done) => {\n+    });\n+});\n+\n+// Get all businesses route tests\n+describe('GET ALL BUSINESS TESTS', () => {\n+    describe('When a user sends a GET request to /api/v1/businesses', () => {\n+        it('On success:: return status:200, msg:Found 5 businesses', (done) => {\n             chai.request(app)\n-                .delete('/api/v1/businesses/10')\n+                .get('/api/v1/businesses')\n                 .end((req, res) => {\n-                    assert.equal(res.body.message, 'Business not found!');\n+                    res.should.have.status(200);\n+                    assert.equal(res.body.message, 'Found 5 businesses');\n                     done();\n                 });\n         });\n     });\n });\n \n-// Get a business route tests\n-describe('GET A BUSINESS TESTS', () => {\n-    describe('When a user sends a GET request to \"/api/v1/businesses/:businessId\"', () => {\n-        it('It should return a 200 status', (done) => {\n+describe('FILTER LOCATION TESTS', () => {\n+    describe('When a user sends a GET request to /api/v1/businesses?<location>', () => {\n+        it('if Business not found:: return status:404, msg:There are currently no businesses in Kafanchan', (done) => {\n             chai.request(app)\n-                .get('/api/v1/businesses/1')\n+                .get('/api/v1/businesses?location=Kafanchan')\n                 .end((req, res) => {\n-                    res.should.have.status(200);\n+                    res.should.have.status(404);\n+                    assert.equal(res.body.message, 'There are currently no businesses in Kafanchan');\n                     done();\n                 });\n         });\n-        it('It should return an object', (done) => {\n+        it('if Business not found:: return status:200, msg:Found 1 businesses in Lagos', (done) => {\n             chai.request(app)\n-                .get('/api/v1/businesses/1')\n+                .get('/api/v1/businesses?location=Lagos')\n                 .end((req, res) => {\n-                    res.body.should.be.an('object');\n+                    res.should.have.status(200);\n+                    assert.equal(res.body.message, 'Found 1 businesses in Lagos');\n                     done();\n                 });\n         });\n-        it('Response message should equal \"Business found!\"', (done) => {\n+        it('if location query not defined:: return status:403, msg:Unknown search query', (done) => {\n             chai.request(app)\n-                .get('/api/v1/businesses/1')\n+                .get('/api/v1/businesses?location=')\n                 .end((req, res) => {\n-                    assert.equal(res.body.message, 'Business found!');\n+                    res.should.have.status(403);\n+                    assert.equal(res.body.message, 'Unknown search query');\n                     done();\n                 });\n         });\n-        it('It should return a 404 status if business is not found.\"', (done) => {\n+    });\n+});\n+\n+describe('FILTER CATEGORY TESTS', () => {\n+    describe('When a user sends a GET request to /api/v1/businesses?<category>', () => {\n+        it('if Business not found:: return status:404, msg:There are currently no businesses in Hospitality', (done) => {\n             chai.request(app)\n-                .get('/api/v1/businesses/10')\n+                .get('/api/v1/businesses?category=Fashion')\n                 .end((req, res) => {\n                     res.should.have.status(404);\n+                    assert.equal(res.body.message, 'There are currently no businesses in Fashion');\n                     done();\n                 });\n         });\n-        it('It should return a message \"Business not found!\" if business does not exist', (done) => {\n+        it('if Business not found:: return status:200, msg:Found 1 businesses in Entertainment', (done) => {\n             chai.request(app)\n-                .get('/api/v1/businesses/10')\n+                .get('/api/v1/businesses?category=Entertainment')\n                 .end((req, res) => {\n-                    assert.equal(res.body.message, 'Business not found!');\n+                    res.should.have.status(200);\n+                    assert.equal(res.body.message, 'Found 1 businesses in Entertainment');\n                     done();\n                 });\n         });\n     });\n });\n \n-// Get all businesses route tests\n-describe('GET ALL BUSINESS TESTS', () => {\n-    describe('When a user sends a GET request to /api/v1/businesses', () => {\n-        it('It should return a 200 status', (done) => {\n-            chai.request(app)\n-                .get('/api/v1/businesses')\n-                .end((req, res) => {\n-                    res.should.have.status(200);\n-                    done();\n-                });\n-        });\n-        it('Response message should equal \"Found 5 businesses\"', (done) => {\n+// Update business route tests\n+describe('PUT BUSINESSES TESTS', () => {\n+    describe('When a user sends a PUT request to \"/api/v1/businesses/:businessId\"', () => {\n+        it('if Business not found:: return status:404, msg:Business not found', (done) => {\n             chai.request(app)\n-                .get('/api/v1/businesses')\n+                .put('/api/v1/businesses/10')\n+                .send({\n+                    businessName: 'Hamilton Berkleys',\n+                    category: 'Hospitality',\n+                    mantra: 'Home away from home',\n+                    email: 'info@hamiltonberkleys.com',\n+                    website: 'www.hamiltonberkleys.com',\n+                    phone: '01-5712800',\n+                    addressOne: '875, Alanin street',\n+                    addressTwo: 'Alshazara Centre',\n+                    city: 'Estinno',\n+                    state: 'Installia',\n+                    country: 'Abrevia'\n+                })\n                 .end((req, res) => {\n-                    assert.equal(res.body.message, 'Found 5 businesses');\n+                    res.should.have.status(404);\n+                    assert.equal(res.body.message, 'Business not found');\n                     done();\n                 });\n         });\n-        it('It should return 5 businesses', (done) => {\n+        /* it('if field(s) are not set:: return status:400, msg:Fill out all fields', (done) => {\n             chai.request(app)\n-                .get('/api/v1/businesses')\n+                .put('/api/v1/businesses/5')\n+                .send({\n+                    businessname: 'Hamiltonn Berkleys',\n+                    category: '',\n+                    state: 'Sokoto',\n+                })\n                 .end((req, res) => {\n-                    res.body.responseObject.length.should.equal(5);\n+                    res.should.have.status(400);\n+                    assert.equal(res.body.message, 'Fill out all fields');\n                     done();\n                 });\n-        });\n-    });\n-});\n-\n-describe('FILTER LOCATION TESTS', () => {\n-    describe('When a user sends a GET request to /api/v1/businesses?<location>', () => {\n-        it('Response message should equal \"Found 1 businesses\"', (done) => {\n+        }); */\n+        it('On success: return status:200, msg:Business updated successfully', (done) => {\n             chai.request(app)\n-                .get('/api/v1/businesses?location=Lagos')\n+                .put('/api/v1/businesses/5')\n+                .send({\n+                    businessName: 'Hamilton Berkleys',\n+                    category: 'Hospitality',\n+                    mantra: 'Good is good',\n+                    email: 'info@hamiltonberkleys.com',\n+                    website: 'www.hamiltonberkleys.com',\n+                    phone: '01-5712800',\n+                    addressOne: '875, Alanin street',\n+                    addressTwo: 'Alshazara Centre',\n+                    city: 'Estinno',\n+                    state: 'Installia',\n+                    country: 'Abrevia'\n+                })\n                 .end((req, res) => {\n-                    assert.equal(res.body.message, 'Found 1 businesses');\n+                    res.should.have.status(200);\n+                    assert.equal(res.body.message, 'Business updated successfully');\n                     done();\n                 });\n         });\n-        it('It should return 1 business', (done) => {\n+        it('On update error--id:: return status:500', (done) => {\n             chai.request(app)\n-                .get('/api/v1/businesses?location=Lagos')\n+                .put('/api/v1/businesses/string')\n+                .send({\n+                    businessName: 'Hamilton Berkleys',\n+                    category: 'Hospitality',\n+                    mantra: 'Good is good',\n+                    email: 'info@hamiltonberkleys.com',\n+                    website: 'www.hamiltonberkleys.com',\n+                    phone: '01-5712800',\n+                    addressOne: '875, Alanin street',\n+                    addressTwo: 'Alshazara Centre',\n+                    city: 'Estinno',\n+                    state: 'Installia',\n+                    country: 'Abrevia'\n+                })\n                 .end((req, res) => {\n-                    res.body.responseObject.length.should.equal(1);\n+                    res.should.have.status(500);\n                     done();\n                 });\n         });\n-        it('It should return a 404 status if there is no business with the search location', (done) => {\n+        it('On update error--unique violation:: return status:500', (done) => {\n             chai.request(app)\n-                .get('/api/v1/businesses?location=Enugu')\n+                .put('/api/v1/businesses/4')\n+                .send({\n+                    businessName: 'Hamilton Berkleys',\n+                    category: 'Hospitality',\n+                    mantra: 'Good is good',\n+                    email: 'info@hamiltonberkleys.com',\n+                    website: 'www.hamiltonberkleys.com',\n+                    phone: '01-5712800',\n+                    addressOne: '875, Alanin street',\n+                    addressTwo: 'Alshazara Centre',\n+                    city: 'Estinno',\n+                    state: 'Installia',\n+                    country: 'Abrevia'\n+                })\n                 .end((req, res) => {\n-                    res.should.have.status(404);\n+                    res.should.have.status(500);\n                     done();\n                 });\n         });\n-        it('It should return a 404 status if the search parameter for location is not defined', (done) => {\n+    });\n+});\n+\n+// Delete business route tests\n+describe('DELETE BUSINESSES TESTS', () => {\n+    describe('When a user sends a DELETE request to \"/api/v1/businesses/:businessId\"', () => {\n+        it('if Business not found:: return status:404, msg:Business not found', (done) => {\n             chai.request(app)\n-                .get('/api/v1/businesses?location=')\n+                .delete('/api/v1/businesses/10')\n                 .end((req, res) => {\n                     res.should.have.status(404);\n+                    assert.equal(res.body.message, 'Business not found');\n                     done();\n                 });\n         });\n-    });\n-});\n-\n-describe('FILTER CATEGORY TESTS', () => {\n-    describe('When a user sends a GET request to /api/v1/businesses?<category>', () => {\n-        it('Response message should equal \"Found 1 businesses\"', (done) => {\n+        it('On success:: return status:200, msg:Business deleted successfully', (done) => {\n             chai.request(app)\n-                .get('/api/v1/businesses?category=Entertainment')\n+                .delete('/api/v1/businesses/4')\n                 .end((req, res) => {\n-                    assert.equal(res.body.message, 'Found 1 businesses');\n+                    res.should.have.status(200);\n+                    assert.equal(res.body.message, 'Business deleted successfully');\n                     done();\n                 });\n         });\n-        it('It should return 1 business', (done) => {\n+        it('On delete error--id:: return status:500', (done) => {\n             chai.request(app)\n-                .get('/api/v1/businesses?category=Entertainment')\n+                .delete('/api/v1/businesses/string')","path":"server/test/test.businesses.js","position":576,"original_position":576,"commit_id":"e2b66c0687d22cb0d9923f4a446671f2d02b0176","original_commit_id":"e2b66c0687d22cb0d9923f4a446671f2d02b0176","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Expected linebreaks to be 'CRLF' but found 'LF'  linebreak-style","created_at":"2018-05-15T19:55:11Z","updated_at":"2018-05-15T19:55:13Z","html_url":"https://github.com/enJames/BEConnect/pull/39#discussion_r188415984","pull_request_url":"https://api.github.com/repos/enJames/BEConnect/pulls/39","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/enJames/BEConnect/pulls/comments/188415984"},"html":{"href":"https://github.com/enJames/BEConnect/pull/39#discussion_r188415984"},"pull_request":{"href":"https://api.github.com/repos/enJames/BEConnect/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/enJames/BEConnect/pulls/39","id":187972893,"html_url":"https://github.com/enJames/BEConnect/pull/39","diff_url":"https://github.com/enJames/BEConnect/pull/39.diff","patch_url":"https://github.com/enJames/BEConnect/pull/39.patch","issue_url":"https://api.github.com/repos/enJames/BEConnect/issues/39","number":39,"state":"open","locked":false,"title":"Integrate database","user":{"login":"enJames","id":29673586,"avatar_url":"https://avatars1.githubusercontent.com/u/29673586?v=4","gravatar_id":"","url":"https://api.github.com/users/enJames","html_url":"https://github.com/enJames","followers_url":"https://api.github.com/users/enJames/followers","following_url":"https://api.github.com/users/enJames/following{/other_user}","gists_url":"https://api.github.com/users/enJames/gists{/gist_id}","starred_url":"https://api.github.com/users/enJames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enJames/subscriptions","organizations_url":"https://api.github.com/users/enJames/orgs","repos_url":"https://api.github.com/users/enJames/repos","events_url":"https://api.github.com/users/enJames/events{/privacy}","received_events_url":"https://api.github.com/users/enJames/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-14T22:57:38Z","updated_at":"2018-05-15T19:55:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9995f59427044f0108099816879b4060ffa8c82b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/enJames/BEConnect/pulls/39/commits","review_comments_url":"https://api.github.com/repos/enJames/BEConnect/pulls/39/comments","review_comment_url":"https://api.github.com/repos/enJames/BEConnect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enJames/BEConnect/issues/39/comments","statuses_url":"https://api.github.com/repos/enJames/BEConnect/statuses/e2b66c0687d22cb0d9923f4a446671f2d02b0176","head":{"label":"enJames:chore/integrate-database/#156914583","ref":"chore/integrate-database/#156914583","sha":"e2b66c0687d22cb0d9923f4a446671f2d02b0176","user":{"login":"enJames","id":29673586,"avatar_url":"https://avatars1.githubusercontent.com/u/29673586?v=4","gravatar_id":"","url":"https://api.github.com/users/enJames","html_url":"https://github.com/enJames","followers_url":"https://api.github.com/users/enJames/followers","following_url":"https://api.github.com/users/enJames/following{/other_user}","gists_url":"https://api.github.com/users/enJames/gists{/gist_id}","starred_url":"https://api.github.com/users/enJames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enJames/subscriptions","organizations_url":"https://api.github.com/users/enJames/orgs","repos_url":"https://api.github.com/users/enJames/repos","events_url":"https://api.github.com/users/enJames/events{/privacy}","received_events_url":"https://api.github.com/users/enJames/received_events","type":"User","site_admin":false},"repo":{"id":126645689,"name":"BEConnect","full_name":"enJames/BEConnect","owner":{"login":"enJames","id":29673586,"avatar_url":"https://avatars1.githubusercontent.com/u/29673586?v=4","gravatar_id":"","url":"https://api.github.com/users/enJames","html_url":"https://github.com/enJames","followers_url":"https://api.github.com/users/enJames/followers","following_url":"https://api.github.com/users/enJames/following{/other_user}","gists_url":"https://api.github.com/users/enJames/gists{/gist_id}","starred_url":"https://api.github.com/users/enJames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enJames/subscriptions","organizations_url":"https://api.github.com/users/enJames/orgs","repos_url":"https://api.github.com/users/enJames/repos","events_url":"https://api.github.com/users/enJames/events{/privacy}","received_events_url":"https://api.github.com/users/enJames/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/enJames/BEConnect","description":null,"fork":false,"url":"https://api.github.com/repos/enJames/BEConnect","forks_url":"https://api.github.com/repos/enJames/BEConnect/forks","keys_url":"https://api.github.com/repos/enJames/BEConnect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enJames/BEConnect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enJames/BEConnect/teams","hooks_url":"https://api.github.com/repos/enJames/BEConnect/hooks","issue_events_url":"https://api.github.com/repos/enJames/BEConnect/issues/events{/number}","events_url":"https://api.github.com/repos/enJames/BEConnect/events","assignees_url":"https://api.github.com/repos/enJames/BEConnect/assignees{/user}","branches_url":"https://api.github.com/repos/enJames/BEConnect/branches{/branch}","tags_url":"https://api.github.com/repos/enJames/BEConnect/tags","blobs_url":"https://api.github.com/repos/enJames/BEConnect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enJames/BEConnect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enJames/BEConnect/git/refs{/sha}","trees_url":"https://api.github.com/repos/enJames/BEConnect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enJames/BEConnect/statuses/{sha}","languages_url":"https://api.github.com/repos/enJames/BEConnect/languages","stargazers_url":"https://api.github.com/repos/enJames/BEConnect/stargazers","contributors_url":"https://api.github.com/repos/enJames/BEConnect/contributors","subscribers_url":"https://api.github.com/repos/enJames/BEConnect/subscribers","subscription_url":"https://api.github.com/repos/enJames/BEConnect/subscription","commits_url":"https://api.github.com/repos/enJames/BEConnect/commits{/sha}","git_commits_url":"https://api.github.com/repos/enJames/BEConnect/git/commits{/sha}","comments_url":"https://api.github.com/repos/enJames/BEConnect/comments{/number}","issue_comment_url":"https://api.github.com/repos/enJames/BEConnect/issues/comments{/number}","contents_url":"https://api.github.com/repos/enJames/BEConnect/contents/{+path}","compare_url":"https://api.github.com/repos/enJames/BEConnect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enJames/BEConnect/merges","archive_url":"https://api.github.com/repos/enJames/BEConnect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enJames/BEConnect/downloads","issues_url":"https://api.github.com/repos/enJames/BEConnect/issues{/number}","pulls_url":"https://api.github.com/repos/enJames/BEConnect/pulls{/number}","milestones_url":"https://api.github.com/repos/enJames/BEConnect/milestones{/number}","notifications_url":"https://api.github.com/repos/enJames/BEConnect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enJames/BEConnect/labels{/name}","releases_url":"https://api.github.com/repos/enJames/BEConnect/releases{/id}","deployments_url":"https://api.github.com/repos/enJames/BEConnect/deployments","created_at":"2018-03-24T22:33:47Z","updated_at":"2018-04-21T21:02:02Z","pushed_at":"2018-05-15T19:51:56Z","git_url":"git://github.com/enJames/BEConnect.git","ssh_url":"git@github.com:enJames/BEConnect.git","clone_url":"https://github.com/enJames/BEConnect.git","svn_url":"https://github.com/enJames/BEConnect","homepage":null,"size":10289,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"develop"}},"base":{"label":"enJames:develop","ref":"develop","sha":"3ff14881f10a7df704529a3a3e62b37e8b6adb8d","user":{"login":"enJames","id":29673586,"avatar_url":"https://avatars1.githubusercontent.com/u/29673586?v=4","gravatar_id":"","url":"https://api.github.com/users/enJames","html_url":"https://github.com/enJames","followers_url":"https://api.github.com/users/enJames/followers","following_url":"https://api.github.com/users/enJames/following{/other_user}","gists_url":"https://api.github.com/users/enJames/gists{/gist_id}","starred_url":"https://api.github.com/users/enJames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enJames/subscriptions","organizations_url":"https://api.github.com/users/enJames/orgs","repos_url":"https://api.github.com/users/enJames/repos","events_url":"https://api.github.com/users/enJames/events{/privacy}","received_events_url":"https://api.github.com/users/enJames/received_events","type":"User","site_admin":false},"repo":{"id":126645689,"name":"BEConnect","full_name":"enJames/BEConnect","owner":{"login":"enJames","id":29673586,"avatar_url":"https://avatars1.githubusercontent.com/u/29673586?v=4","gravatar_id":"","url":"https://api.github.com/users/enJames","html_url":"https://github.com/enJames","followers_url":"https://api.github.com/users/enJames/followers","following_url":"https://api.github.com/users/enJames/following{/other_user}","gists_url":"https://api.github.com/users/enJames/gists{/gist_id}","starred_url":"https://api.github.com/users/enJames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enJames/subscriptions","organizations_url":"https://api.github.com/users/enJames/orgs","repos_url":"https://api.github.com/users/enJames/repos","events_url":"https://api.github.com/users/enJames/events{/privacy}","received_events_url":"https://api.github.com/users/enJames/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/enJames/BEConnect","description":null,"fork":false,"url":"https://api.github.com/repos/enJames/BEConnect","forks_url":"https://api.github.com/repos/enJames/BEConnect/forks","keys_url":"https://api.github.com/repos/enJames/BEConnect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enJames/BEConnect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enJames/BEConnect/teams","hooks_url":"https://api.github.com/repos/enJames/BEConnect/hooks","issue_events_url":"https://api.github.com/repos/enJames/BEConnect/issues/events{/number}","events_url":"https://api.github.com/repos/enJames/BEConnect/events","assignees_url":"https://api.github.com/repos/enJames/BEConnect/assignees{/user}","branches_url":"https://api.github.com/repos/enJames/BEConnect/branches{/branch}","tags_url":"https://api.github.com/repos/enJames/BEConnect/tags","blobs_url":"https://api.github.com/repos/enJames/BEConnect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enJames/BEConnect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enJames/BEConnect/git/refs{/sha}","trees_url":"https://api.github.com/repos/enJames/BEConnect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enJames/BEConnect/statuses/{sha}","languages_url":"https://api.github.com/repos/enJames/BEConnect/languages","stargazers_url":"https://api.github.com/repos/enJames/BEConnect/stargazers","contributors_url":"https://api.github.com/repos/enJames/BEConnect/contributors","subscribers_url":"https://api.github.com/repos/enJames/BEConnect/subscribers","subscription_url":"https://api.github.com/repos/enJames/BEConnect/subscription","commits_url":"https://api.github.com/repos/enJames/BEConnect/commits{/sha}","git_commits_url":"https://api.github.com/repos/enJames/BEConnect/git/commits{/sha}","comments_url":"https://api.github.com/repos/enJames/BEConnect/comments{/number}","issue_comment_url":"https://api.github.com/repos/enJames/BEConnect/issues/comments{/number}","contents_url":"https://api.github.com/repos/enJames/BEConnect/contents/{+path}","compare_url":"https://api.github.com/repos/enJames/BEConnect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enJames/BEConnect/merges","archive_url":"https://api.github.com/repos/enJames/BEConnect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enJames/BEConnect/downloads","issues_url":"https://api.github.com/repos/enJames/BEConnect/issues{/number}","pulls_url":"https://api.github.com/repos/enJames/BEConnect/pulls{/number}","milestones_url":"https://api.github.com/repos/enJames/BEConnect/milestones{/number}","notifications_url":"https://api.github.com/repos/enJames/BEConnect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enJames/BEConnect/labels{/name}","releases_url":"https://api.github.com/repos/enJames/BEConnect/releases{/id}","deployments_url":"https://api.github.com/repos/enJames/BEConnect/deployments","created_at":"2018-03-24T22:33:47Z","updated_at":"2018-04-21T21:02:02Z","pushed_at":"2018-05-15T19:51:56Z","git_url":"git://github.com/enJames/BEConnect.git","ssh_url":"git@github.com:enJames/BEConnect.git","clone_url":"https://github.com/enJames/BEConnect.git","svn_url":"https://github.com/enJames/BEConnect","homepage":null,"size":10289,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/enJames/BEConnect/pulls/39"},"html":{"href":"https://github.com/enJames/BEConnect/pull/39"},"issue":{"href":"https://api.github.com/repos/enJames/BEConnect/issues/39"},"comments":{"href":"https://api.github.com/repos/enJames/BEConnect/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/enJames/BEConnect/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/enJames/BEConnect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enJames/BEConnect/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/enJames/BEConnect/statuses/e2b66c0687d22cb0d9923f4a446671f2d02b0176"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}