{"action":"created","comment":{"url":"https://api.github.com/repos/Hector101/e-Document-Manager/pulls/comments/131544582","pull_request_review_id":54537092,"id":131544582,"diff_hunk":"@@ -0,0 +1,13 @@\n+import authorization from '../helpers/authorization';\n+import roleController from '../controllers/roles';","path":"server/routes/roles.js","position":2,"original_position":2,"commit_id":"843a2d5a92a5bd9a39b113496f1af160ed499cbe","original_commit_id":"843a2d5a92a5bd9a39b113496f1af160ed499cbe","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":"Unable to resolve path to module '../controllers/roles'      import/no-unresolved<br>Missing file extension for \"../controllers/roles\"            import/extensions","created_at":"2017-08-06T14:40:31Z","updated_at":"2017-08-06T14:40:32Z","html_url":"https://github.com/Hector101/e-Document-Manager/pull/5#discussion_r131544582","pull_request_url":"https://api.github.com/repos/Hector101/e-Document-Manager/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/Hector101/e-Document-Manager/pulls/comments/131544582"},"html":{"href":"https://github.com/Hector101/e-Document-Manager/pull/5#discussion_r131544582"},"pull_request":{"href":"https://api.github.com/repos/Hector101/e-Document-Manager/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/Hector101/e-Document-Manager/pulls/5","id":134123955,"html_url":"https://github.com/Hector101/e-Document-Manager/pull/5","diff_url":"https://github.com/Hector101/e-Document-Manager/pull/5.diff","patch_url":"https://github.com/Hector101/e-Document-Manager/pull/5.patch","issue_url":"https://api.github.com/repos/Hector101/e-Document-Manager/issues/5","number":5,"state":"open","locked":false,"title":"Chore/149784367/test routes","user":{"login":"Hector101","id":10426118,"avatar_url":"https://avatars0.githubusercontent.com/u/10426118?v=4","gravatar_id":"","url":"https://api.github.com/users/Hector101","html_url":"https://github.com/Hector101","followers_url":"https://api.github.com/users/Hector101/followers","following_url":"https://api.github.com/users/Hector101/following{/other_user}","gists_url":"https://api.github.com/users/Hector101/gists{/gist_id}","starred_url":"https://api.github.com/users/Hector101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hector101/subscriptions","organizations_url":"https://api.github.com/users/Hector101/orgs","repos_url":"https://api.github.com/users/Hector101/repos","events_url":"https://api.github.com/users/Hector101/events{/privacy}","received_events_url":"https://api.github.com/users/Hector101/received_events","type":"User","site_admin":false},"body":"### What does this PR do?\r\nRun the test for all the end points and models\r\n\r\n#### Description of Task to be completed?\r\nsetup test environment and test both database model and controllers\r\n\r\n#### How should this be manually tested?\r\nusing the terminal, run \"\"npm test\" for the test to run, And check the test coverage on the terminal.\r\n\r\n#### Any background context you want to provide?\r\nN/A\r\n\r\n#### What are the relevant pivotal tracker stories?\r\nTesting routes and models\r\n\r\n#### Screenshots (if appropriate)\r\n<img width=\"722\" alt=\"screen shot 2017-08-04 at 10 16 15 am\" src=\"https://user-images.githubusercontent.com/10426118/28962587-0804c28a-78fe-11e7-99e9-e29584371a81.png\">\r\n\r\n#### Questions:\r\nN/A","created_at":"2017-08-04T09:17:26Z","updated_at":"2017-08-06T14:40:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe671ed9b9cd4282c1a703388898554231ff0cc1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Hector101/e-Document-Manager/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Hector101/e-Document-Manager/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Hector101/e-Document-Manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hector101/e-Document-Manager/issues/5/comments","statuses_url":"https://api.github.com/repos/Hector101/e-Document-Manager/statuses/843a2d5a92a5bd9a39b113496f1af160ed499cbe","head":{"label":"Hector101:chore/149784367/test-routes","ref":"chore/149784367/test-routes","sha":"843a2d5a92a5bd9a39b113496f1af160ed499cbe","user":{"login":"Hector101","id":10426118,"avatar_url":"https://avatars0.githubusercontent.com/u/10426118?v=4","gravatar_id":"","url":"https://api.github.com/users/Hector101","html_url":"https://github.com/Hector101","followers_url":"https://api.github.com/users/Hector101/followers","following_url":"https://api.github.com/users/Hector101/following{/other_user}","gists_url":"https://api.github.com/users/Hector101/gists{/gist_id}","starred_url":"https://api.github.com/users/Hector101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hector101/subscriptions","organizations_url":"https://api.github.com/users/Hector101/orgs","repos_url":"https://api.github.com/users/Hector101/repos","events_url":"https://api.github.com/users/Hector101/events{/privacy}","received_events_url":"https://api.github.com/users/Hector101/received_events","type":"User","site_admin":false},"repo":{"id":96428185,"name":"e-Document-Manager","full_name":"Hector101/e-Document-Manager","owner":{"login":"Hector101","id":10426118,"avatar_url":"https://avatars0.githubusercontent.com/u/10426118?v=4","gravatar_id":"","url":"https://api.github.com/users/Hector101","html_url":"https://github.com/Hector101","followers_url":"https://api.github.com/users/Hector101/followers","following_url":"https://api.github.com/users/Hector101/following{/other_user}","gists_url":"https://api.github.com/users/Hector101/gists{/gist_id}","starred_url":"https://api.github.com/users/Hector101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hector101/subscriptions","organizations_url":"https://api.github.com/users/Hector101/orgs","repos_url":"https://api.github.com/users/Hector101/repos","events_url":"https://api.github.com/users/Hector101/events{/privacy}","received_events_url":"https://api.github.com/users/Hector101/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hector101/e-Document-Manager","description":null,"fork":false,"url":"https://api.github.com/repos/Hector101/e-Document-Manager","forks_url":"https://api.github.com/repos/Hector101/e-Document-Manager/forks","keys_url":"https://api.github.com/repos/Hector101/e-Document-Manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hector101/e-Document-Manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hector101/e-Document-Manager/teams","hooks_url":"https://api.github.com/repos/Hector101/e-Document-Manager/hooks","issue_events_url":"https://api.github.com/repos/Hector101/e-Document-Manager/issues/events{/number}","events_url":"https://api.github.com/repos/Hector101/e-Document-Manager/events","assignees_url":"https://api.github.com/repos/Hector101/e-Document-Manager/assignees{/user}","branches_url":"https://api.github.com/repos/Hector101/e-Document-Manager/branches{/branch}","tags_url":"https://api.github.com/repos/Hector101/e-Document-Manager/tags","blobs_url":"https://api.github.com/repos/Hector101/e-Document-Manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hector101/e-Document-Manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hector101/e-Document-Manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hector101/e-Document-Manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hector101/e-Document-Manager/statuses/{sha}","languages_url":"https://api.github.com/repos/Hector101/e-Document-Manager/languages","stargazers_url":"https://api.github.com/repos/Hector101/e-Document-Manager/stargazers","contributors_url":"https://api.github.com/repos/Hector101/e-Document-Manager/contributors","subscribers_url":"https://api.github.com/repos/Hector101/e-Document-Manager/subscribers","subscription_url":"https://api.github.com/repos/Hector101/e-Document-Manager/subscription","commits_url":"https://api.github.com/repos/Hector101/e-Document-Manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hector101/e-Document-Manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hector101/e-Document-Manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hector101/e-Document-Manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hector101/e-Document-Manager/contents/{+path}","compare_url":"https://api.github.com/repos/Hector101/e-Document-Manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hector101/e-Document-Manager/merges","archive_url":"https://api.github.com/repos/Hector101/e-Document-Manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hector101/e-Document-Manager/downloads","issues_url":"https://api.github.com/repos/Hector101/e-Document-Manager/issues{/number}","pulls_url":"https://api.github.com/repos/Hector101/e-Document-Manager/pulls{/number}","milestones_url":"https://api.github.com/repos/Hector101/e-Document-Manager/milestones{/number}","notifications_url":"https://api.github.com/repos/Hector101/e-Document-Manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hector101/e-Document-Manager/labels{/name}","releases_url":"https://api.github.com/repos/Hector101/e-Document-Manager/releases{/id}","deployments_url":"https://api.github.com/repos/Hector101/e-Document-Manager/deployments","created_at":"2017-07-06T12:33:14Z","updated_at":"2017-07-20T21:29:30Z","pushed_at":"2017-08-06T14:40:11Z","git_url":"git://github.com/Hector101/e-Document-Manager.git","ssh_url":"git@github.com:Hector101/e-Document-Manager.git","clone_url":"https://github.com/Hector101/e-Document-Manager.git","svn_url":"https://github.com/Hector101/e-Document-Manager","homepage":null,"size":29,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Hector101:master","ref":"master","sha":"c6df55dcd75c69f065250a02c4d16f2592f1736f","user":{"login":"Hector101","id":10426118,"avatar_url":"https://avatars0.githubusercontent.com/u/10426118?v=4","gravatar_id":"","url":"https://api.github.com/users/Hector101","html_url":"https://github.com/Hector101","followers_url":"https://api.github.com/users/Hector101/followers","following_url":"https://api.github.com/users/Hector101/following{/other_user}","gists_url":"https://api.github.com/users/Hector101/gists{/gist_id}","starred_url":"https://api.github.com/users/Hector101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hector101/subscriptions","organizations_url":"https://api.github.com/users/Hector101/orgs","repos_url":"https://api.github.com/users/Hector101/repos","events_url":"https://api.github.com/users/Hector101/events{/privacy}","received_events_url":"https://api.github.com/users/Hector101/received_events","type":"User","site_admin":false},"repo":{"id":96428185,"name":"e-Document-Manager","full_name":"Hector101/e-Document-Manager","owner":{"login":"Hector101","id":10426118,"avatar_url":"https://avatars0.githubusercontent.com/u/10426118?v=4","gravatar_id":"","url":"https://api.github.com/users/Hector101","html_url":"https://github.com/Hector101","followers_url":"https://api.github.com/users/Hector101/followers","following_url":"https://api.github.com/users/Hector101/following{/other_user}","gists_url":"https://api.github.com/users/Hector101/gists{/gist_id}","starred_url":"https://api.github.com/users/Hector101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hector101/subscriptions","organizations_url":"https://api.github.com/users/Hector101/orgs","repos_url":"https://api.github.com/users/Hector101/repos","events_url":"https://api.github.com/users/Hector101/events{/privacy}","received_events_url":"https://api.github.com/users/Hector101/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hector101/e-Document-Manager","description":null,"fork":false,"url":"https://api.github.com/repos/Hector101/e-Document-Manager","forks_url":"https://api.github.com/repos/Hector101/e-Document-Manager/forks","keys_url":"https://api.github.com/repos/Hector101/e-Document-Manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hector101/e-Document-Manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hector101/e-Document-Manager/teams","hooks_url":"https://api.github.com/repos/Hector101/e-Document-Manager/hooks","issue_events_url":"https://api.github.com/repos/Hector101/e-Document-Manager/issues/events{/number}","events_url":"https://api.github.com/repos/Hector101/e-Document-Manager/events","assignees_url":"https://api.github.com/repos/Hector101/e-Document-Manager/assignees{/user}","branches_url":"https://api.github.com/repos/Hector101/e-Document-Manager/branches{/branch}","tags_url":"https://api.github.com/repos/Hector101/e-Document-Manager/tags","blobs_url":"https://api.github.com/repos/Hector101/e-Document-Manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hector101/e-Document-Manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hector101/e-Document-Manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hector101/e-Document-Manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hector101/e-Document-Manager/statuses/{sha}","languages_url":"https://api.github.com/repos/Hector101/e-Document-Manager/languages","stargazers_url":"https://api.github.com/repos/Hector101/e-Document-Manager/stargazers","contributors_url":"https://api.github.com/repos/Hector101/e-Document-Manager/contributors","subscribers_url":"https://api.github.com/repos/Hector101/e-Document-Manager/subscribers","subscription_url":"https://api.github.com/repos/Hector101/e-Document-Manager/subscription","commits_url":"https://api.github.com/repos/Hector101/e-Document-Manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hector101/e-Document-Manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hector101/e-Document-Manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hector101/e-Document-Manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hector101/e-Document-Manager/contents/{+path}","compare_url":"https://api.github.com/repos/Hector101/e-Document-Manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hector101/e-Document-Manager/merges","archive_url":"https://api.github.com/repos/Hector101/e-Document-Manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hector101/e-Document-Manager/downloads","issues_url":"https://api.github.com/repos/Hector101/e-Document-Manager/issues{/number}","pulls_url":"https://api.github.com/repos/Hector101/e-Document-Manager/pulls{/number}","milestones_url":"https://api.github.com/repos/Hector101/e-Document-Manager/milestones{/number}","notifications_url":"https://api.github.com/repos/Hector101/e-Document-Manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hector101/e-Document-Manager/labels{/name}","releases_url":"https://api.github.com/repos/Hector101/e-Document-Manager/releases{/id}","deployments_url":"https://api.github.com/repos/Hector101/e-Document-Manager/deployments","created_at":"2017-07-06T12:33:14Z","updated_at":"2017-07-20T21:29:30Z","pushed_at":"2017-08-06T14:40:11Z","git_url":"git://github.com/Hector101/e-Document-Manager.git","ssh_url":"git@github.com:Hector101/e-Document-Manager.git","clone_url":"https://github.com/Hector101/e-Document-Manager.git","svn_url":"https://github.com/Hector101/e-Document-Manager","homepage":null,"size":29,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Hector101/e-Document-Manager/pulls/5"},"html":{"href":"https://github.com/Hector101/e-Document-Manager/pull/5"},"issue":{"href":"https://api.github.com/repos/Hector101/e-Document-Manager/issues/5"},"comments":{"href":"https://api.github.com/repos/Hector101/e-Document-Manager/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Hector101/e-Document-Manager/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Hector101/e-Document-Manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hector101/e-Document-Manager/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Hector101/e-Document-Manager/statuses/843a2d5a92a5bd9a39b113496f1af160ed499cbe"}}}}
{"actor":{"display_login":"houndci-bot"}}