{"action":"created","comment":{"url":"https://api.github.com/repos/andela/activo-web/pulls/comments/210375453","pull_request_review_id":146576737,"id":210375453,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMDM3NTQ1Mw==","diff_hunk":"@@ -0,0 +1,33 @@\n+// react libraries\n+import * as React from 'react';\n+\n+// third-party libraries\n+import { shallow } from 'enzyme';\n+\n+// components\n+import { mapDispatchToProps, UserRolesPage } from './';\n+\n+// fixtures\n+import { userRoles } from 'modules/userRoles/fixtures';\n+\n+describe('UserRolesPage component', () => {","path":"src/pages/UserRolesPage/UserRolesPage.test.tsx","position":13,"original_position":13,"commit_id":"b5fd9d3f8824dafd7349d06f5aff547f9f57d2a2","original_commit_id":"b5fd9d3f8824dafd7349d06f5aff547f9f57d2a2","user":{"login":"andela-kakpobome","id":20772189,"node_id":"MDQ6VXNlcjIwNzcyMTg5","avatar_url":"https://avatars2.githubusercontent.com/u/20772189?v=4","gravatar_id":"","url":"https://api.github.com/users/andela-kakpobome","html_url":"https://github.com/andela-kakpobome","followers_url":"https://api.github.com/users/andela-kakpobome/followers","following_url":"https://api.github.com/users/andela-kakpobome/following{/other_user}","gists_url":"https://api.github.com/users/andela-kakpobome/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-kakpobome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-kakpobome/subscriptions","organizations_url":"https://api.github.com/users/andela-kakpobome/orgs","repos_url":"https://api.github.com/users/andela-kakpobome/repos","events_url":"https://api.github.com/users/andela-kakpobome/events{/privacy}","received_events_url":"https://api.github.com/users/andela-kakpobome/received_events","type":"User","site_admin":false},"body":"There are so many other things, to test, eg the call to getUserRoles, that the table is populated with the right amount of supplied roles, also ensuring that the table rows contain exactly what was contained in the fixtures for userRoles.","created_at":"2018-08-15T19:07:22Z","updated_at":"2018-08-15T19:11:12Z","html_url":"https://github.com/andela/activo-web/pull/95#discussion_r210375453","pull_request_url":"https://api.github.com/repos/andela/activo-web/pulls/95","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/andela/activo-web/pulls/comments/210375453"},"html":{"href":"https://github.com/andela/activo-web/pull/95#discussion_r210375453"},"pull_request":{"href":"https://api.github.com/repos/andela/activo-web/pulls/95"}}},"pull_request":{"url":"https://api.github.com/repos/andela/activo-web/pulls/95","id":206813502,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2ODEzNTAy","html_url":"https://github.com/andela/activo-web/pull/95","diff_url":"https://github.com/andela/activo-web/pull/95.diff","patch_url":"https://github.com/andela/activo-web/pull/95.patch","issue_url":"https://api.github.com/repos/andela/activo-web/issues/95","number":95,"state":"open","locked":false,"title":"#159568516 User should be able to see all roles on Activo","user":{"login":"Orlayhemmy","id":33638254,"node_id":"MDQ6VXNlcjMzNjM4MjU0","avatar_url":"https://avatars0.githubusercontent.com/u/33638254?v=4","gravatar_id":"","url":"https://api.github.com/users/Orlayhemmy","html_url":"https://github.com/Orlayhemmy","followers_url":"https://api.github.com/users/Orlayhemmy/followers","following_url":"https://api.github.com/users/Orlayhemmy/following{/other_user}","gists_url":"https://api.github.com/users/Orlayhemmy/gists{/gist_id}","starred_url":"https://api.github.com/users/Orlayhemmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Orlayhemmy/subscriptions","organizations_url":"https://api.github.com/users/Orlayhemmy/orgs","repos_url":"https://api.github.com/users/Orlayhemmy/repos","events_url":"https://api.github.com/users/Orlayhemmy/events{/privacy}","received_events_url":"https://api.github.com/users/Orlayhemmy/received_events","type":"User","site_admin":false},"body":"**What does this PR do?**\r\nUse will be able to see all the roles\r\n\r\n**Description of Task to be completed?**\r\n     - add user roles reducer\r\n     - dispatched action to fetch user roles using mock data\r\n     - add test\r\n     - add component to display the user roles\r\n\r\n**How should this be manually tested?**\r\n - Login on the app\r\n - Navigate to the settings page and click on user roles\r\n\r\n**Any background context you want to provide?**\r\nThis implementation is making use of a mock data now\r\n\r\n**What are the relevant pivotal tracker stories?**\r\n[Finishes #159568516]\r\n\r\n**Screenshots (if appropriate)**\r\n<img width=\"1440\" alt=\"screen shot 2018-08-07 at 9 08 45 pm\" src=\"https://user-images.githubusercontent.com/33638254/43799692-26828c38-9a86-11e8-8dd3-2b552ca3ea59.png\">\r\n\r\n\r\n**Questions:**\r\nN/A","created_at":"2018-08-07T20:13:44Z","updated_at":"2018-08-15T19:11:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3800f3a544c6b16899b328cfdb5007cfbcfab207","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1019136810,"node_id":"MDU6TGFiZWwxMDE5MTM2ODEw","url":"https://api.github.com/repos/andela/activo-web/labels/Feedback%20Implemented","name":"Feedback Implemented","color":"7057ff","default":false},{"id":953906751,"node_id":"MDU6TGFiZWw5NTM5MDY3NTE=","url":"https://api.github.com/repos/andela/activo-web/labels/Finished","name":"Finished","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/andela/activo-web/pulls/95/commits","review_comments_url":"https://api.github.com/repos/andela/activo-web/pulls/95/comments","review_comment_url":"https://api.github.com/repos/andela/activo-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/activo-web/issues/95/comments","statuses_url":"https://api.github.com/repos/andela/activo-web/statuses/b5fd9d3f8824dafd7349d06f5aff547f9f57d2a2","head":{"label":"andela:ft-display-all-roles-#159568516","ref":"ft-display-all-roles-#159568516","sha":"b5fd9d3f8824dafd7349d06f5aff547f9f57d2a2","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":132578458,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI1Nzg0NTg=","name":"activo-web","full_name":"andela/activo-web","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},"private":false,"html_url":"https://github.com/andela/activo-web","description":"Web client for the activo application","fork":false,"url":"https://api.github.com/repos/andela/activo-web","forks_url":"https://api.github.com/repos/andela/activo-web/forks","keys_url":"https://api.github.com/repos/andela/activo-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/activo-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/activo-web/teams","hooks_url":"https://api.github.com/repos/andela/activo-web/hooks","issue_events_url":"https://api.github.com/repos/andela/activo-web/issues/events{/number}","events_url":"https://api.github.com/repos/andela/activo-web/events","assignees_url":"https://api.github.com/repos/andela/activo-web/assignees{/user}","branches_url":"https://api.github.com/repos/andela/activo-web/branches{/branch}","tags_url":"https://api.github.com/repos/andela/activo-web/tags","blobs_url":"https://api.github.com/repos/andela/activo-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/activo-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/activo-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/activo-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/activo-web/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/activo-web/languages","stargazers_url":"https://api.github.com/repos/andela/activo-web/stargazers","contributors_url":"https://api.github.com/repos/andela/activo-web/contributors","subscribers_url":"https://api.github.com/repos/andela/activo-web/subscribers","subscription_url":"https://api.github.com/repos/andela/activo-web/subscription","commits_url":"https://api.github.com/repos/andela/activo-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/activo-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/activo-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/activo-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/activo-web/contents/{+path}","compare_url":"https://api.github.com/repos/andela/activo-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/activo-web/merges","archive_url":"https://api.github.com/repos/andela/activo-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/activo-web/downloads","issues_url":"https://api.github.com/repos/andela/activo-web/issues{/number}","pulls_url":"https://api.github.com/repos/andela/activo-web/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/activo-web/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/activo-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/activo-web/labels{/name}","releases_url":"https://api.github.com/repos/andela/activo-web/releases{/id}","deployments_url":"https://api.github.com/repos/andela/activo-web/deployments","created_at":"2018-05-08T08:28:37Z","updated_at":"2018-08-15T18:22:24Z","pushed_at":"2018-08-15T18:22:24Z","git_url":"git://github.com/andela/activo-web.git","ssh_url":"git@github.com:andela/activo-web.git","clone_url":"https://github.com/andela/activo-web.git","svn_url":"https://github.com/andela/activo-web","homepage":"http://activo-staging.andela.com","size":3153,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":4,"open_issues":13,"watchers":1,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"d1306a9dd0ed4196764dc865ee7f8cc31a7373c7","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":132578458,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI1Nzg0NTg=","name":"activo-web","full_name":"andela/activo-web","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},"private":false,"html_url":"https://github.com/andela/activo-web","description":"Web client for the activo application","fork":false,"url":"https://api.github.com/repos/andela/activo-web","forks_url":"https://api.github.com/repos/andela/activo-web/forks","keys_url":"https://api.github.com/repos/andela/activo-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/activo-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/activo-web/teams","hooks_url":"https://api.github.com/repos/andela/activo-web/hooks","issue_events_url":"https://api.github.com/repos/andela/activo-web/issues/events{/number}","events_url":"https://api.github.com/repos/andela/activo-web/events","assignees_url":"https://api.github.com/repos/andela/activo-web/assignees{/user}","branches_url":"https://api.github.com/repos/andela/activo-web/branches{/branch}","tags_url":"https://api.github.com/repos/andela/activo-web/tags","blobs_url":"https://api.github.com/repos/andela/activo-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/activo-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/activo-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/activo-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/activo-web/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/activo-web/languages","stargazers_url":"https://api.github.com/repos/andela/activo-web/stargazers","contributors_url":"https://api.github.com/repos/andela/activo-web/contributors","subscribers_url":"https://api.github.com/repos/andela/activo-web/subscribers","subscription_url":"https://api.github.com/repos/andela/activo-web/subscription","commits_url":"https://api.github.com/repos/andela/activo-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/activo-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/activo-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/activo-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/activo-web/contents/{+path}","compare_url":"https://api.github.com/repos/andela/activo-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/activo-web/merges","archive_url":"https://api.github.com/repos/andela/activo-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/activo-web/downloads","issues_url":"https://api.github.com/repos/andela/activo-web/issues{/number}","pulls_url":"https://api.github.com/repos/andela/activo-web/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/activo-web/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/activo-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/activo-web/labels{/name}","releases_url":"https://api.github.com/repos/andela/activo-web/releases{/id}","deployments_url":"https://api.github.com/repos/andela/activo-web/deployments","created_at":"2018-05-08T08:28:37Z","updated_at":"2018-08-15T18:22:24Z","pushed_at":"2018-08-15T18:22:24Z","git_url":"git://github.com/andela/activo-web.git","ssh_url":"git@github.com:andela/activo-web.git","clone_url":"https://github.com/andela/activo-web.git","svn_url":"https://github.com/andela/activo-web","homepage":"http://activo-staging.andela.com","size":3153,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":4,"open_issues":13,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/activo-web/pulls/95"},"html":{"href":"https://github.com/andela/activo-web/pull/95"},"issue":{"href":"https://api.github.com/repos/andela/activo-web/issues/95"},"comments":{"href":"https://api.github.com/repos/andela/activo-web/issues/95/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/activo-web/pulls/95/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/activo-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/activo-web/pulls/95/commits"},"statuses":{"href":"https://api.github.com/repos/andela/activo-web/statuses/b5fd9d3f8824dafd7349d06f5aff547f9f57d2a2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"andela-kakpobome"}}