{"action":"created","comment":{"url":"https://api.github.com/repos/andela/noldor-ah-frontend/pulls/comments/243592770","pull_request_review_id":187409308,"id":243592770,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzU5Mjc3MA==","diff_hunk":"@@ -63,4 +63,17 @@ describe('<Login /> shallow rendering tests', () => {\n     wrapper.find('form').simulate('submit', { preventDefault() {} });\n     expect(mockLoginFn.mock.calls.length).toBe(1);\n   });\n+\n+  it('handleSocialButton works as expected', () => {","path":"src/components/container/login/Login.test.js","position":5,"original_position":5,"commit_id":"7c8f41b83133ecbc58658819f67347fdcd6c8393","original_commit_id":"7c8f41b83133ecbc58658819f67347fdcd6c8393","user":{"login":"codeclimate[bot]","id":36754821,"node_id":"MDM6Qm90MzY3NTQ4MjE=","avatar_url":"https://avatars0.githubusercontent.com/in/9403?v=4","gravatar_id":"","url":"https://api.github.com/users/codeclimate%5Bbot%5D","html_url":"https://github.com/apps/codeclimate","followers_url":"https://api.github.com/users/codeclimate%5Bbot%5D/followers","following_url":"https://api.github.com/users/codeclimate%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codeclimate%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codeclimate%5Bbot%5D/repos","events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"Identical blocks of code found in 2 locations. Consider refactoring.","created_at":"2018-12-21T14:20:22Z","updated_at":"2018-12-21T14:20:23Z","html_url":"https://github.com/andela/noldor-ah-frontend/pull/24#discussion_r243592770","pull_request_url":"https://api.github.com/repos/andela/noldor-ah-frontend/pulls/24","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/noldor-ah-frontend/pulls/comments/243592770"},"html":{"href":"https://github.com/andela/noldor-ah-frontend/pull/24#discussion_r243592770"},"pull_request":{"href":"https://api.github.com/repos/andela/noldor-ah-frontend/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/andela/noldor-ah-frontend/pulls/24","id":240171840,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwMTcxODQw","html_url":"https://github.com/andela/noldor-ah-frontend/pull/24","diff_url":"https://github.com/andela/noldor-ah-frontend/pull/24.diff","patch_url":"https://github.com/andela/noldor-ah-frontend/pull/24.patch","issue_url":"https://api.github.com/repos/andela/noldor-ah-frontend/issues/24","number":24,"state":"open","locked":false,"title":"#161290859 Enable social media login","user":{"login":"Frediflexta","id":26186206,"node_id":"MDQ6VXNlcjI2MTg2MjA2","avatar_url":"https://avatars0.githubusercontent.com/u/26186206?v=4","gravatar_id":"","url":"https://api.github.com/users/Frediflexta","html_url":"https://github.com/Frediflexta","followers_url":"https://api.github.com/users/Frediflexta/followers","following_url":"https://api.github.com/users/Frediflexta/following{/other_user}","gists_url":"https://api.github.com/users/Frediflexta/gists{/gist_id}","starred_url":"https://api.github.com/users/Frediflexta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frediflexta/subscriptions","organizations_url":"https://api.github.com/users/Frediflexta/orgs","repos_url":"https://api.github.com/users/Frediflexta/repos","events_url":"https://api.github.com/users/Frediflexta/events{/privacy}","received_events_url":"https://api.github.com/users/Frediflexta/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n* Enables user to login into the app through social media platforms\r\n#### Description of Task to be completed?\r\n- enable facebook login\r\n- Re-open another facebook developer account\r\n- Change API secret and ID on .env on Heroku\r\n- enable google login\r\n#### How should this be manually tested?\r\n- Login or Register into the platform through the facebook or google button\r\n#### Any background context you want to provide?\r\nN/A\r\n#### What are the relevant pivotal tracker stories?\r\n- #161290859\r\n#### Screenshots (if appropriate)\r\nN/A\r\n#### Questions:\r\nN/A\r\n","created_at":"2018-12-20T13:32:41Z","updated_at":"2018-12-21T14:20:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc6a5dbd8d899ebffb9f06073a7031f1a133c267","assignee":null,"assignees":[],"requested_reviewers":[{"login":"anasey01","id":25327188,"node_id":"MDQ6VXNlcjI1MzI3MTg4","avatar_url":"https://avatars1.githubusercontent.com/u/25327188?v=4","gravatar_id":"","url":"https://api.github.com/users/anasey01","html_url":"https://github.com/anasey01","followers_url":"https://api.github.com/users/anasey01/followers","following_url":"https://api.github.com/users/anasey01/following{/other_user}","gists_url":"https://api.github.com/users/anasey01/gists{/gist_id}","starred_url":"https://api.github.com/users/anasey01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anasey01/subscriptions","organizations_url":"https://api.github.com/users/anasey01/orgs","repos_url":"https://api.github.com/users/anasey01/repos","events_url":"https://api.github.com/users/anasey01/events{/privacy}","received_events_url":"https://api.github.com/users/anasey01/received_events","type":"User","site_admin":false},{"login":"65black","id":36507972,"node_id":"MDQ6VXNlcjM2NTA3OTcy","avatar_url":"https://avatars1.githubusercontent.com/u/36507972?v=4","gravatar_id":"","url":"https://api.github.com/users/65black","html_url":"https://github.com/65black","followers_url":"https://api.github.com/users/65black/followers","following_url":"https://api.github.com/users/65black/following{/other_user}","gists_url":"https://api.github.com/users/65black/gists{/gist_id}","starred_url":"https://api.github.com/users/65black/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/65black/subscriptions","organizations_url":"https://api.github.com/users/65black/orgs","repos_url":"https://api.github.com/users/65black/repos","events_url":"https://api.github.com/users/65black/events{/privacy}","received_events_url":"https://api.github.com/users/65black/received_events","type":"User","site_admin":false},{"login":"uwaelpis","id":42223360,"node_id":"MDQ6VXNlcjQyMjIzMzYw","avatar_url":"https://avatars2.githubusercontent.com/u/42223360?v=4","gravatar_id":"","url":"https://api.github.com/users/uwaelpis","html_url":"https://github.com/uwaelpis","followers_url":"https://api.github.com/users/uwaelpis/followers","following_url":"https://api.github.com/users/uwaelpis/following{/other_user}","gists_url":"https://api.github.com/users/uwaelpis/gists{/gist_id}","starred_url":"https://api.github.com/users/uwaelpis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uwaelpis/subscriptions","organizations_url":"https://api.github.com/users/uwaelpis/orgs","repos_url":"https://api.github.com/users/uwaelpis/repos","events_url":"https://api.github.com/users/uwaelpis/events{/privacy}","received_events_url":"https://api.github.com/users/uwaelpis/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/noldor-ah-frontend/pulls/24/commits","review_comments_url":"https://api.github.com/repos/andela/noldor-ah-frontend/pulls/24/comments","review_comment_url":"https://api.github.com/repos/andela/noldor-ah-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/noldor-ah-frontend/issues/24/comments","statuses_url":"https://api.github.com/repos/andela/noldor-ah-frontend/statuses/7c8f41b83133ecbc58658819f67347fdcd6c8393","head":{"label":"andela:feature/161290859/social-media-login","ref":"feature/161290859/social-media-login","sha":"7c8f41b83133ecbc58658819f67347fdcd6c8393","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":159193997,"node_id":"MDEwOlJlcG9zaXRvcnkxNTkxOTM5OTc=","name":"noldor-ah-frontend","full_name":"andela/noldor-ah-frontend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/noldor-ah-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/noldor-ah-frontend","forks_url":"https://api.github.com/repos/andela/noldor-ah-frontend/forks","keys_url":"https://api.github.com/repos/andela/noldor-ah-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/noldor-ah-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/noldor-ah-frontend/teams","hooks_url":"https://api.github.com/repos/andela/noldor-ah-frontend/hooks","issue_events_url":"https://api.github.com/repos/andela/noldor-ah-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/noldor-ah-frontend/events","assignees_url":"https://api.github.com/repos/andela/noldor-ah-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/noldor-ah-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/noldor-ah-frontend/tags","blobs_url":"https://api.github.com/repos/andela/noldor-ah-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/noldor-ah-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/noldor-ah-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/noldor-ah-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/noldor-ah-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/noldor-ah-frontend/languages","stargazers_url":"https://api.github.com/repos/andela/noldor-ah-frontend/stargazers","contributors_url":"https://api.github.com/repos/andela/noldor-ah-frontend/contributors","subscribers_url":"https://api.github.com/repos/andela/noldor-ah-frontend/subscribers","subscription_url":"https://api.github.com/repos/andela/noldor-ah-frontend/subscription","commits_url":"https://api.github.com/repos/andela/noldor-ah-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/noldor-ah-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/noldor-ah-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/noldor-ah-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/noldor-ah-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/noldor-ah-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/noldor-ah-frontend/merges","archive_url":"https://api.github.com/repos/andela/noldor-ah-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/noldor-ah-frontend/downloads","issues_url":"https://api.github.com/repos/andela/noldor-ah-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/noldor-ah-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/noldor-ah-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/noldor-ah-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/noldor-ah-frontend/labels{/name}","releases_url":"https://api.github.com/repos/andela/noldor-ah-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/noldor-ah-frontend/deployments","created_at":"2018-11-26T15:48:16Z","updated_at":"2018-12-21T13:37:32Z","pushed_at":"2018-12-21T14:16:20Z","git_url":"git://github.com/andela/noldor-ah-frontend.git","ssh_url":"git@github.com:andela/noldor-ah-frontend.git","clone_url":"https://github.com/andela/noldor-ah-frontend.git","svn_url":"https://github.com/andela/noldor-ah-frontend","homepage":null,"size":2072,"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,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"f8541cee91e59b75329defe473093f93770e1acf","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":159193997,"node_id":"MDEwOlJlcG9zaXRvcnkxNTkxOTM5OTc=","name":"noldor-ah-frontend","full_name":"andela/noldor-ah-frontend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/noldor-ah-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/noldor-ah-frontend","forks_url":"https://api.github.com/repos/andela/noldor-ah-frontend/forks","keys_url":"https://api.github.com/repos/andela/noldor-ah-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/noldor-ah-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/noldor-ah-frontend/teams","hooks_url":"https://api.github.com/repos/andela/noldor-ah-frontend/hooks","issue_events_url":"https://api.github.com/repos/andela/noldor-ah-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/noldor-ah-frontend/events","assignees_url":"https://api.github.com/repos/andela/noldor-ah-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/noldor-ah-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/noldor-ah-frontend/tags","blobs_url":"https://api.github.com/repos/andela/noldor-ah-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/noldor-ah-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/noldor-ah-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/noldor-ah-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/noldor-ah-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/noldor-ah-frontend/languages","stargazers_url":"https://api.github.com/repos/andela/noldor-ah-frontend/stargazers","contributors_url":"https://api.github.com/repos/andela/noldor-ah-frontend/contributors","subscribers_url":"https://api.github.com/repos/andela/noldor-ah-frontend/subscribers","subscription_url":"https://api.github.com/repos/andela/noldor-ah-frontend/subscription","commits_url":"https://api.github.com/repos/andela/noldor-ah-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/noldor-ah-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/noldor-ah-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/noldor-ah-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/noldor-ah-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/noldor-ah-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/noldor-ah-frontend/merges","archive_url":"https://api.github.com/repos/andela/noldor-ah-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/noldor-ah-frontend/downloads","issues_url":"https://api.github.com/repos/andela/noldor-ah-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/noldor-ah-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/noldor-ah-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/noldor-ah-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/noldor-ah-frontend/labels{/name}","releases_url":"https://api.github.com/repos/andela/noldor-ah-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/noldor-ah-frontend/deployments","created_at":"2018-11-26T15:48:16Z","updated_at":"2018-12-21T13:37:32Z","pushed_at":"2018-12-21T14:16:20Z","git_url":"git://github.com/andela/noldor-ah-frontend.git","ssh_url":"git@github.com:andela/noldor-ah-frontend.git","clone_url":"https://github.com/andela/noldor-ah-frontend.git","svn_url":"https://github.com/andela/noldor-ah-frontend","homepage":null,"size":2072,"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,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/noldor-ah-frontend/pulls/24"},"html":{"href":"https://github.com/andela/noldor-ah-frontend/pull/24"},"issue":{"href":"https://api.github.com/repos/andela/noldor-ah-frontend/issues/24"},"comments":{"href":"https://api.github.com/repos/andela/noldor-ah-frontend/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/noldor-ah-frontend/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/noldor-ah-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/noldor-ah-frontend/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/andela/noldor-ah-frontend/statuses/7c8f41b83133ecbc58658819f67347fdcd6c8393"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"codeclimate"}}