{"action":"opened","number":30,"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/fb-publisher/pulls/30","id":210097439,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMDk3NDM5","html_url":"https://github.com/ministryofjustice/fb-publisher/pull/30","diff_url":"https://github.com/ministryofjustice/fb-publisher/pull/30.diff","patch_url":"https://github.com/ministryofjustice/fb-publisher/pull/30.patch","issue_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/issues/30","number":30,"state":"open","locked":false,"title":"Increase test coverage","user":{"login":"aldavidson","id":134501,"node_id":"MDQ6VXNlcjEzNDUwMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/134501?v=4","gravatar_id":"","url":"https://api.github.com/users/aldavidson","html_url":"https://github.com/aldavidson","followers_url":"https://api.github.com/users/aldavidson/followers","following_url":"https://api.github.com/users/aldavidson/following{/other_user}","gists_url":"https://api.github.com/users/aldavidson/gists{/gist_id}","starred_url":"https://api.github.com/users/aldavidson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldavidson/subscriptions","organizations_url":"https://api.github.com/users/aldavidson/orgs","repos_url":"https://api.github.com/users/aldavidson/repos","events_url":"https://api.github.com/users/aldavidson/events{/privacy}","received_events_url":"https://api.github.com/users/aldavidson/received_events","type":"User","site_admin":false},"body":"Add tests for the visible_to methods on user, service, service_config_param","created_at":"2018-08-22T11:06:50Z","updated_at":"2018-08-22T11:06:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/pulls/30/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/pulls/30/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/issues/30/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/statuses/40c86c5e37be7d48a2139b00aad77776cfb32bc6","head":{"label":"ministryofjustice:up-coverage","ref":"up-coverage","sha":"40c86c5e37be7d48a2139b00aad77776cfb32bc6","user":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":136028757,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYwMjg3NTc=","name":"fb-publisher","full_name":"ministryofjustice/fb-publisher","owner":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/fb-publisher","description":"Form Builder Publisher Web application ","fork":false,"url":"https://api.github.com/repos/ministryofjustice/fb-publisher","forks_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/forks","keys_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/events","assignees_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/merges","archive_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/deployments","created_at":"2018-06-04T13:24:35Z","updated_at":"2018-08-16T07:11:40Z","pushed_at":"2018-08-22T11:05:44Z","git_url":"git://github.com/ministryofjustice/fb-publisher.git","ssh_url":"git@github.com:ministryofjustice/fb-publisher.git","clone_url":"https://github.com/ministryofjustice/fb-publisher.git","svn_url":"https://github.com/ministryofjustice/fb-publisher","homepage":null,"size":323,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"5ce2240139d06f6679d13e3aef4f3b300ed4c5c2","user":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":136028757,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYwMjg3NTc=","name":"fb-publisher","full_name":"ministryofjustice/fb-publisher","owner":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/fb-publisher","description":"Form Builder Publisher Web application ","fork":false,"url":"https://api.github.com/repos/ministryofjustice/fb-publisher","forks_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/forks","keys_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/events","assignees_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/merges","archive_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/fb-publisher/deployments","created_at":"2018-06-04T13:24:35Z","updated_at":"2018-08-16T07:11:40Z","pushed_at":"2018-08-22T11:05:44Z","git_url":"git://github.com/ministryofjustice/fb-publisher.git","ssh_url":"git@github.com:ministryofjustice/fb-publisher.git","clone_url":"https://github.com/ministryofjustice/fb-publisher.git","svn_url":"https://github.com/ministryofjustice/fb-publisher","homepage":null,"size":323,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/fb-publisher/pulls/30"},"html":{"href":"https://github.com/ministryofjustice/fb-publisher/pull/30"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/fb-publisher/issues/30"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/fb-publisher/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/fb-publisher/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/fb-publisher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/fb-publisher/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/fb-publisher/statuses/40c86c5e37be7d48a2139b00aad77776cfb32bc6"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":197,"deletions":18,"changed_files":9}}
{"actor":{"display_login":"aldavidson"}}