{"action":"created","comment":{"url":"https://api.github.com/repos/DataBiosphere/saturn-ui/pulls/comments/182890246","pull_request_review_id":113784153,"id":182890246,"diff_hunk":"@@ -0,0 +1,26 @@\n+import React from 'react'\n+import { mount } from 'enzyme'\n+import { WorkspaceContainer } from 'src/pages/workspaces/workspace/Container'\n+\n+\n+jest.unmock('src/libs/ajax').mock('src/libs/ajax', () => ({\n+  Rawls: {\n+    workspaceDetails: (namespace, name, success, _) => {\n+      const Ajax = require.requireActual('src/libs/__mocks__/ajax')\n+      success(Ajax.createWorkspace({ namespace, name, accessLevel: 'OWNER' }))\n+    }\n+  }\n+}))\n+\n+describe('Dashboard', () => {\n+  // Pretty much useless, exists to explore mock infrastructure\n+  it('should render the correct access level', () => {\n+    const wrapper = mount(","path":"src/_tests/pages/workspaces/workspace/Dashboard.test.js","position":18,"original_position":18,"commit_id":"150c2480c33f72e0dce7d6cbeba0686f9f4142ec","original_commit_id":"150c2480c33f72e0dce7d6cbeba0686f9f4142ec","user":{"login":"zarsky-broad","id":22642695,"avatar_url":"https://avatars2.githubusercontent.com/u/22642695?v=4","gravatar_id":"","url":"https://api.github.com/users/zarsky-broad","html_url":"https://github.com/zarsky-broad","followers_url":"https://api.github.com/users/zarsky-broad/followers","following_url":"https://api.github.com/users/zarsky-broad/following{/other_user}","gists_url":"https://api.github.com/users/zarsky-broad/gists{/gist_id}","starred_url":"https://api.github.com/users/zarsky-broad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zarsky-broad/subscriptions","organizations_url":"https://api.github.com/users/zarsky-broad/orgs","repos_url":"https://api.github.com/users/zarsky-broad/repos","events_url":"https://api.github.com/users/zarsky-broad/events{/privacy}","received_events_url":"https://api.github.com/users/zarsky-broad/received_events","type":"User","site_admin":false},"body":"Working on that now. It's not as straightforward as you'd think.","created_at":"2018-04-19T21:29:19Z","updated_at":"2018-04-19T21:29:19Z","html_url":"https://github.com/DataBiosphere/saturn-ui/pull/73#discussion_r182890246","pull_request_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/pulls/73","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/DataBiosphere/saturn-ui/pulls/comments/182890246"},"html":{"href":"https://github.com/DataBiosphere/saturn-ui/pull/73#discussion_r182890246"},"pull_request":{"href":"https://api.github.com/repos/DataBiosphere/saturn-ui/pulls/73"}},"in_reply_to_id":182872009},"pull_request":{"url":"https://api.github.com/repos/DataBiosphere/saturn-ui/pulls/73","id":181594830,"html_url":"https://github.com/DataBiosphere/saturn-ui/pull/73","diff_url":"https://github.com/DataBiosphere/saturn-ui/pull/73.diff","patch_url":"https://github.com/DataBiosphere/saturn-ui/pull/73.patch","issue_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/issues/73","number":73,"state":"open","locked":false,"title":"Possible way to test things, PR exists to test CircleCI","user":{"login":"MattPutnam","id":785011,"avatar_url":"https://avatars3.githubusercontent.com/u/785011?v=4","gravatar_id":"","url":"https://api.github.com/users/MattPutnam","html_url":"https://github.com/MattPutnam","followers_url":"https://api.github.com/users/MattPutnam/followers","following_url":"https://api.github.com/users/MattPutnam/following{/other_user}","gists_url":"https://api.github.com/users/MattPutnam/gists{/gist_id}","starred_url":"https://api.github.com/users/MattPutnam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattPutnam/subscriptions","organizations_url":"https://api.github.com/users/MattPutnam/orgs","repos_url":"https://api.github.com/users/MattPutnam/repos","events_url":"https://api.github.com/users/MattPutnam/events{/privacy}","received_events_url":"https://api.github.com/users/MattPutnam/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-13T20:59:08Z","updated_at":"2018-04-19T21:29:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7824cd21cb055e1fa4fe9667c26f5af422e03b26","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/pulls/73/commits","review_comments_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/pulls/73/comments","review_comment_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/issues/73/comments","statuses_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/statuses/150c2480c33f72e0dce7d6cbeba0686f9f4142ec","head":{"label":"DataBiosphere:mp-testing-spike","ref":"mp-testing-spike","sha":"150c2480c33f72e0dce7d6cbeba0686f9f4142ec","user":{"login":"DataBiosphere","id":32805087,"avatar_url":"https://avatars0.githubusercontent.com/u/32805087?v=4","gravatar_id":"","url":"https://api.github.com/users/DataBiosphere","html_url":"https://github.com/DataBiosphere","followers_url":"https://api.github.com/users/DataBiosphere/followers","following_url":"https://api.github.com/users/DataBiosphere/following{/other_user}","gists_url":"https://api.github.com/users/DataBiosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/DataBiosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataBiosphere/subscriptions","organizations_url":"https://api.github.com/users/DataBiosphere/orgs","repos_url":"https://api.github.com/users/DataBiosphere/repos","events_url":"https://api.github.com/users/DataBiosphere/events{/privacy}","received_events_url":"https://api.github.com/users/DataBiosphere/received_events","type":"Organization","site_admin":false},"repo":{"id":122538461,"name":"saturn-ui","full_name":"DataBiosphere/saturn-ui","owner":{"login":"DataBiosphere","id":32805087,"avatar_url":"https://avatars0.githubusercontent.com/u/32805087?v=4","gravatar_id":"","url":"https://api.github.com/users/DataBiosphere","html_url":"https://github.com/DataBiosphere","followers_url":"https://api.github.com/users/DataBiosphere/followers","following_url":"https://api.github.com/users/DataBiosphere/following{/other_user}","gists_url":"https://api.github.com/users/DataBiosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/DataBiosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataBiosphere/subscriptions","organizations_url":"https://api.github.com/users/DataBiosphere/orgs","repos_url":"https://api.github.com/users/DataBiosphere/repos","events_url":"https://api.github.com/users/DataBiosphere/events{/privacy}","received_events_url":"https://api.github.com/users/DataBiosphere/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataBiosphere/saturn-ui","description":"Workbench app","fork":false,"url":"https://api.github.com/repos/DataBiosphere/saturn-ui","forks_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/forks","keys_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/teams","hooks_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/hooks","issue_events_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/issues/events{/number}","events_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/events","assignees_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/assignees{/user}","branches_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/branches{/branch}","tags_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/tags","blobs_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/languages","stargazers_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/stargazers","contributors_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/contributors","subscribers_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/subscribers","subscription_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/subscription","commits_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/contents/{+path}","compare_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/merges","archive_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/downloads","issues_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/issues{/number}","pulls_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/labels{/name}","releases_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/releases{/id}","deployments_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/deployments","created_at":"2018-02-22T21:38:34Z","updated_at":"2018-04-10T20:12:04Z","pushed_at":"2018-04-19T19:14:49Z","git_url":"git://github.com/DataBiosphere/saturn-ui.git","ssh_url":"git@github.com:DataBiosphere/saturn-ui.git","clone_url":"https://github.com/DataBiosphere/saturn-ui.git","svn_url":"https://github.com/DataBiosphere/saturn-ui","homepage":"","size":798,"stargazers_count":2,"watchers_count":2,"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":19,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":19,"watchers":2,"default_branch":"dev"}},"base":{"label":"DataBiosphere:dev","ref":"dev","sha":"71b9b2098451cd229571964edd2e617478cc9d7e","user":{"login":"DataBiosphere","id":32805087,"avatar_url":"https://avatars0.githubusercontent.com/u/32805087?v=4","gravatar_id":"","url":"https://api.github.com/users/DataBiosphere","html_url":"https://github.com/DataBiosphere","followers_url":"https://api.github.com/users/DataBiosphere/followers","following_url":"https://api.github.com/users/DataBiosphere/following{/other_user}","gists_url":"https://api.github.com/users/DataBiosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/DataBiosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataBiosphere/subscriptions","organizations_url":"https://api.github.com/users/DataBiosphere/orgs","repos_url":"https://api.github.com/users/DataBiosphere/repos","events_url":"https://api.github.com/users/DataBiosphere/events{/privacy}","received_events_url":"https://api.github.com/users/DataBiosphere/received_events","type":"Organization","site_admin":false},"repo":{"id":122538461,"name":"saturn-ui","full_name":"DataBiosphere/saturn-ui","owner":{"login":"DataBiosphere","id":32805087,"avatar_url":"https://avatars0.githubusercontent.com/u/32805087?v=4","gravatar_id":"","url":"https://api.github.com/users/DataBiosphere","html_url":"https://github.com/DataBiosphere","followers_url":"https://api.github.com/users/DataBiosphere/followers","following_url":"https://api.github.com/users/DataBiosphere/following{/other_user}","gists_url":"https://api.github.com/users/DataBiosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/DataBiosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataBiosphere/subscriptions","organizations_url":"https://api.github.com/users/DataBiosphere/orgs","repos_url":"https://api.github.com/users/DataBiosphere/repos","events_url":"https://api.github.com/users/DataBiosphere/events{/privacy}","received_events_url":"https://api.github.com/users/DataBiosphere/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataBiosphere/saturn-ui","description":"Workbench app","fork":false,"url":"https://api.github.com/repos/DataBiosphere/saturn-ui","forks_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/forks","keys_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/teams","hooks_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/hooks","issue_events_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/issues/events{/number}","events_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/events","assignees_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/assignees{/user}","branches_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/branches{/branch}","tags_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/tags","blobs_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/languages","stargazers_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/stargazers","contributors_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/contributors","subscribers_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/subscribers","subscription_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/subscription","commits_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/contents/{+path}","compare_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/merges","archive_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/downloads","issues_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/issues{/number}","pulls_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/labels{/name}","releases_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/releases{/id}","deployments_url":"https://api.github.com/repos/DataBiosphere/saturn-ui/deployments","created_at":"2018-02-22T21:38:34Z","updated_at":"2018-04-10T20:12:04Z","pushed_at":"2018-04-19T19:14:49Z","git_url":"git://github.com/DataBiosphere/saturn-ui.git","ssh_url":"git@github.com:DataBiosphere/saturn-ui.git","clone_url":"https://github.com/DataBiosphere/saturn-ui.git","svn_url":"https://github.com/DataBiosphere/saturn-ui","homepage":"","size":798,"stargazers_count":2,"watchers_count":2,"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":19,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":19,"watchers":2,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/DataBiosphere/saturn-ui/pulls/73"},"html":{"href":"https://github.com/DataBiosphere/saturn-ui/pull/73"},"issue":{"href":"https://api.github.com/repos/DataBiosphere/saturn-ui/issues/73"},"comments":{"href":"https://api.github.com/repos/DataBiosphere/saturn-ui/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/DataBiosphere/saturn-ui/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/DataBiosphere/saturn-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DataBiosphere/saturn-ui/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/DataBiosphere/saturn-ui/statuses/150c2480c33f72e0dce7d6cbeba0686f9f4142ec"}},"author_association":"NONE"}}
{"actor":{"display_login":"zarsky-broad"}}