{"action":"created","comment":{"url":"https://api.github.com/repos/ekundayo-ab/hello-books/pulls/comments/153475504","pull_request_review_id":79484777,"id":153475504,"diff_hunk":"@@ -480,4 +482,59 @@ describe('AUTHENTICATION & USER Operations', () => {\n         });\n     });\n   });\n+\n+  describe('Autoupgrade unexpected outcome handling', () => {\n+    it('should raise error if all fails', (done) => {\n+      User.update = () => Promise.reject(1);","path":"server/tests/userController.test.js","position":22,"original_position":22,"commit_id":"c5fc1525b1b54b67cd09ed9ad2866eb3cba661ca","original_commit_id":"c5fc1525b1b54b67cd09ed9ad2866eb3cba661ca","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 the Promise rejection reason to be an Error               prefer-promise-reject-errors","created_at":"2017-11-28T12:21:08Z","updated_at":"2017-11-28T12:21:09Z","html_url":"https://github.com/ekundayo-ab/hello-books/pull/125#discussion_r153475504","pull_request_url":"https://api.github.com/repos/ekundayo-ab/hello-books/pulls/125","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ekundayo-ab/hello-books/pulls/comments/153475504"},"html":{"href":"https://github.com/ekundayo-ab/hello-books/pull/125#discussion_r153475504"},"pull_request":{"href":"https://api.github.com/repos/ekundayo-ab/hello-books/pulls/125"}}},"pull_request":{"url":"https://api.github.com/repos/ekundayo-ab/hello-books/pulls/125","id":155056417,"html_url":"https://github.com/ekundayo-ab/hello-books/pull/125","diff_url":"https://github.com/ekundayo-ab/hello-books/pull/125.diff","patch_url":"https://github.com/ekundayo-ab/hello-books/pull/125.patch","issue_url":"https://api.github.com/repos/ekundayo-ab/hello-books/issues/125","number":125,"state":"open","locked":false,"title":"#153211496 Add More Server Side Tests","user":{"login":"ekundayo-ab","id":20375577,"avatar_url":"https://avatars2.githubusercontent.com/u/20375577?v=4","gravatar_id":"","url":"https://api.github.com/users/ekundayo-ab","html_url":"https://github.com/ekundayo-ab","followers_url":"https://api.github.com/users/ekundayo-ab/followers","following_url":"https://api.github.com/users/ekundayo-ab/following{/other_user}","gists_url":"https://api.github.com/users/ekundayo-ab/gists{/gist_id}","starred_url":"https://api.github.com/users/ekundayo-ab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekundayo-ab/subscriptions","organizations_url":"https://api.github.com/users/ekundayo-ab/orgs","repos_url":"https://api.github.com/users/ekundayo-ab/repos","events_url":"https://api.github.com/users/ekundayo-ab/events{/privacy}","received_events_url":"https://api.github.com/users/ekundayo-ab/received_events","type":"User","site_admin":false},"body":"### What does this PR do?\r\nIncludes test for some uncovered lines shown by coverage report\r\n\r\n### Description of Task to be completed?\r\nFrom coverage report gotten\r\n- It should some catch blocks in various controllers are tested\r\n- It should also ensure helper functions are fully tested\r\n\r\n### How should this be manually tested?\r\n1. Pull in latest changes from remote repository to local repository\r\n2. Fire up terminal run `npm install`\r\n3. execute `npm run coverage`\r\n4. View coverage report shown\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\n#153211496 Add more server side tests\r\n\r\n### Screenshots (if appropriate)\r\nN/A\r\n\r\n### Questions:\r\nN/A\r\n","created_at":"2017-11-28T12:20:49Z","updated_at":"2017-11-28T12:21:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d77824ac8ce99581dd17114fddbc6c5dfca61d73","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ekundayo-ab/hello-books/pulls/125/commits","review_comments_url":"https://api.github.com/repos/ekundayo-ab/hello-books/pulls/125/comments","review_comment_url":"https://api.github.com/repos/ekundayo-ab/hello-books/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ekundayo-ab/hello-books/issues/125/comments","statuses_url":"https://api.github.com/repos/ekundayo-ab/hello-books/statuses/c5fc1525b1b54b67cd09ed9ad2866eb3cba661ca","head":{"label":"ekundayo-ab:chore/#153211496/add-more-server-side-tests","ref":"chore/#153211496/add-more-server-side-tests","sha":"c5fc1525b1b54b67cd09ed9ad2866eb3cba661ca","user":{"login":"ekundayo-ab","id":20375577,"avatar_url":"https://avatars2.githubusercontent.com/u/20375577?v=4","gravatar_id":"","url":"https://api.github.com/users/ekundayo-ab","html_url":"https://github.com/ekundayo-ab","followers_url":"https://api.github.com/users/ekundayo-ab/followers","following_url":"https://api.github.com/users/ekundayo-ab/following{/other_user}","gists_url":"https://api.github.com/users/ekundayo-ab/gists{/gist_id}","starred_url":"https://api.github.com/users/ekundayo-ab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekundayo-ab/subscriptions","organizations_url":"https://api.github.com/users/ekundayo-ab/orgs","repos_url":"https://api.github.com/users/ekundayo-ab/repos","events_url":"https://api.github.com/users/ekundayo-ab/events{/privacy}","received_events_url":"https://api.github.com/users/ekundayo-ab/received_events","type":"User","site_admin":false},"repo":{"id":98628418,"name":"hello-books","full_name":"ekundayo-ab/hello-books","owner":{"login":"ekundayo-ab","id":20375577,"avatar_url":"https://avatars2.githubusercontent.com/u/20375577?v=4","gravatar_id":"","url":"https://api.github.com/users/ekundayo-ab","html_url":"https://github.com/ekundayo-ab","followers_url":"https://api.github.com/users/ekundayo-ab/followers","following_url":"https://api.github.com/users/ekundayo-ab/following{/other_user}","gists_url":"https://api.github.com/users/ekundayo-ab/gists{/gist_id}","starred_url":"https://api.github.com/users/ekundayo-ab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekundayo-ab/subscriptions","organizations_url":"https://api.github.com/users/ekundayo-ab/orgs","repos_url":"https://api.github.com/users/ekundayo-ab/repos","events_url":"https://api.github.com/users/ekundayo-ab/events{/privacy}","received_events_url":"https://api.github.com/users/ekundayo-ab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ekundayo-ab/hello-books","description":"Library management application with stocking, tracking and renting of books features.","fork":false,"url":"https://api.github.com/repos/ekundayo-ab/hello-books","forks_url":"https://api.github.com/repos/ekundayo-ab/hello-books/forks","keys_url":"https://api.github.com/repos/ekundayo-ab/hello-books/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ekundayo-ab/hello-books/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ekundayo-ab/hello-books/teams","hooks_url":"https://api.github.com/repos/ekundayo-ab/hello-books/hooks","issue_events_url":"https://api.github.com/repos/ekundayo-ab/hello-books/issues/events{/number}","events_url":"https://api.github.com/repos/ekundayo-ab/hello-books/events","assignees_url":"https://api.github.com/repos/ekundayo-ab/hello-books/assignees{/user}","branches_url":"https://api.github.com/repos/ekundayo-ab/hello-books/branches{/branch}","tags_url":"https://api.github.com/repos/ekundayo-ab/hello-books/tags","blobs_url":"https://api.github.com/repos/ekundayo-ab/hello-books/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ekundayo-ab/hello-books/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ekundayo-ab/hello-books/git/refs{/sha}","trees_url":"https://api.github.com/repos/ekundayo-ab/hello-books/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ekundayo-ab/hello-books/statuses/{sha}","languages_url":"https://api.github.com/repos/ekundayo-ab/hello-books/languages","stargazers_url":"https://api.github.com/repos/ekundayo-ab/hello-books/stargazers","contributors_url":"https://api.github.com/repos/ekundayo-ab/hello-books/contributors","subscribers_url":"https://api.github.com/repos/ekundayo-ab/hello-books/subscribers","subscription_url":"https://api.github.com/repos/ekundayo-ab/hello-books/subscription","commits_url":"https://api.github.com/repos/ekundayo-ab/hello-books/commits{/sha}","git_commits_url":"https://api.github.com/repos/ekundayo-ab/hello-books/git/commits{/sha}","comments_url":"https://api.github.com/repos/ekundayo-ab/hello-books/comments{/number}","issue_comment_url":"https://api.github.com/repos/ekundayo-ab/hello-books/issues/comments{/number}","contents_url":"https://api.github.com/repos/ekundayo-ab/hello-books/contents/{+path}","compare_url":"https://api.github.com/repos/ekundayo-ab/hello-books/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ekundayo-ab/hello-books/merges","archive_url":"https://api.github.com/repos/ekundayo-ab/hello-books/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ekundayo-ab/hello-books/downloads","issues_url":"https://api.github.com/repos/ekundayo-ab/hello-books/issues{/number}","pulls_url":"https://api.github.com/repos/ekundayo-ab/hello-books/pulls{/number}","milestones_url":"https://api.github.com/repos/ekundayo-ab/hello-books/milestones{/number}","notifications_url":"https://api.github.com/repos/ekundayo-ab/hello-books/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ekundayo-ab/hello-books/labels{/name}","releases_url":"https://api.github.com/repos/ekundayo-ab/hello-books/releases{/id}","deployments_url":"https://api.github.com/repos/ekundayo-ab/hello-books/deployments","created_at":"2017-07-28T08:37:06Z","updated_at":"2017-11-19T09:34:41Z","pushed_at":"2017-11-28T12:20:50Z","git_url":"git://github.com/ekundayo-ab/hello-books.git","ssh_url":"git@github.com:ekundayo-ab/hello-books.git","clone_url":"https://github.com/ekundayo-ab/hello-books.git","svn_url":"https://github.com/ekundayo-ab/hello-books","homepage":"https://hellobooks-e.herokuapp.com/","size":43884,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":2,"default_branch":"develop"}},"base":{"label":"ekundayo-ab:develop","ref":"develop","sha":"3ca51bcfd094b7690303e54d2c3b5dfbfe7e8eba","user":{"login":"ekundayo-ab","id":20375577,"avatar_url":"https://avatars2.githubusercontent.com/u/20375577?v=4","gravatar_id":"","url":"https://api.github.com/users/ekundayo-ab","html_url":"https://github.com/ekundayo-ab","followers_url":"https://api.github.com/users/ekundayo-ab/followers","following_url":"https://api.github.com/users/ekundayo-ab/following{/other_user}","gists_url":"https://api.github.com/users/ekundayo-ab/gists{/gist_id}","starred_url":"https://api.github.com/users/ekundayo-ab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekundayo-ab/subscriptions","organizations_url":"https://api.github.com/users/ekundayo-ab/orgs","repos_url":"https://api.github.com/users/ekundayo-ab/repos","events_url":"https://api.github.com/users/ekundayo-ab/events{/privacy}","received_events_url":"https://api.github.com/users/ekundayo-ab/received_events","type":"User","site_admin":false},"repo":{"id":98628418,"name":"hello-books","full_name":"ekundayo-ab/hello-books","owner":{"login":"ekundayo-ab","id":20375577,"avatar_url":"https://avatars2.githubusercontent.com/u/20375577?v=4","gravatar_id":"","url":"https://api.github.com/users/ekundayo-ab","html_url":"https://github.com/ekundayo-ab","followers_url":"https://api.github.com/users/ekundayo-ab/followers","following_url":"https://api.github.com/users/ekundayo-ab/following{/other_user}","gists_url":"https://api.github.com/users/ekundayo-ab/gists{/gist_id}","starred_url":"https://api.github.com/users/ekundayo-ab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekundayo-ab/subscriptions","organizations_url":"https://api.github.com/users/ekundayo-ab/orgs","repos_url":"https://api.github.com/users/ekundayo-ab/repos","events_url":"https://api.github.com/users/ekundayo-ab/events{/privacy}","received_events_url":"https://api.github.com/users/ekundayo-ab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ekundayo-ab/hello-books","description":"Library management application with stocking, tracking and renting of books features.","fork":false,"url":"https://api.github.com/repos/ekundayo-ab/hello-books","forks_url":"https://api.github.com/repos/ekundayo-ab/hello-books/forks","keys_url":"https://api.github.com/repos/ekundayo-ab/hello-books/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ekundayo-ab/hello-books/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ekundayo-ab/hello-books/teams","hooks_url":"https://api.github.com/repos/ekundayo-ab/hello-books/hooks","issue_events_url":"https://api.github.com/repos/ekundayo-ab/hello-books/issues/events{/number}","events_url":"https://api.github.com/repos/ekundayo-ab/hello-books/events","assignees_url":"https://api.github.com/repos/ekundayo-ab/hello-books/assignees{/user}","branches_url":"https://api.github.com/repos/ekundayo-ab/hello-books/branches{/branch}","tags_url":"https://api.github.com/repos/ekundayo-ab/hello-books/tags","blobs_url":"https://api.github.com/repos/ekundayo-ab/hello-books/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ekundayo-ab/hello-books/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ekundayo-ab/hello-books/git/refs{/sha}","trees_url":"https://api.github.com/repos/ekundayo-ab/hello-books/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ekundayo-ab/hello-books/statuses/{sha}","languages_url":"https://api.github.com/repos/ekundayo-ab/hello-books/languages","stargazers_url":"https://api.github.com/repos/ekundayo-ab/hello-books/stargazers","contributors_url":"https://api.github.com/repos/ekundayo-ab/hello-books/contributors","subscribers_url":"https://api.github.com/repos/ekundayo-ab/hello-books/subscribers","subscription_url":"https://api.github.com/repos/ekundayo-ab/hello-books/subscription","commits_url":"https://api.github.com/repos/ekundayo-ab/hello-books/commits{/sha}","git_commits_url":"https://api.github.com/repos/ekundayo-ab/hello-books/git/commits{/sha}","comments_url":"https://api.github.com/repos/ekundayo-ab/hello-books/comments{/number}","issue_comment_url":"https://api.github.com/repos/ekundayo-ab/hello-books/issues/comments{/number}","contents_url":"https://api.github.com/repos/ekundayo-ab/hello-books/contents/{+path}","compare_url":"https://api.github.com/repos/ekundayo-ab/hello-books/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ekundayo-ab/hello-books/merges","archive_url":"https://api.github.com/repos/ekundayo-ab/hello-books/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ekundayo-ab/hello-books/downloads","issues_url":"https://api.github.com/repos/ekundayo-ab/hello-books/issues{/number}","pulls_url":"https://api.github.com/repos/ekundayo-ab/hello-books/pulls{/number}","milestones_url":"https://api.github.com/repos/ekundayo-ab/hello-books/milestones{/number}","notifications_url":"https://api.github.com/repos/ekundayo-ab/hello-books/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ekundayo-ab/hello-books/labels{/name}","releases_url":"https://api.github.com/repos/ekundayo-ab/hello-books/releases{/id}","deployments_url":"https://api.github.com/repos/ekundayo-ab/hello-books/deployments","created_at":"2017-07-28T08:37:06Z","updated_at":"2017-11-19T09:34:41Z","pushed_at":"2017-11-28T12:20:50Z","git_url":"git://github.com/ekundayo-ab/hello-books.git","ssh_url":"git@github.com:ekundayo-ab/hello-books.git","clone_url":"https://github.com/ekundayo-ab/hello-books.git","svn_url":"https://github.com/ekundayo-ab/hello-books","homepage":"https://hellobooks-e.herokuapp.com/","size":43884,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ekundayo-ab/hello-books/pulls/125"},"html":{"href":"https://github.com/ekundayo-ab/hello-books/pull/125"},"issue":{"href":"https://api.github.com/repos/ekundayo-ab/hello-books/issues/125"},"comments":{"href":"https://api.github.com/repos/ekundayo-ab/hello-books/issues/125/comments"},"review_comments":{"href":"https://api.github.com/repos/ekundayo-ab/hello-books/pulls/125/comments"},"review_comment":{"href":"https://api.github.com/repos/ekundayo-ab/hello-books/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ekundayo-ab/hello-books/pulls/125/commits"},"statuses":{"href":"https://api.github.com/repos/ekundayo-ab/hello-books/statuses/c5fc1525b1b54b67cd09ed9ad2866eb3cba661ca"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}