{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/citizens/blog/pulls/4","id":191252821,"html_url":"https://github.com/citizens/blog/pull/4","diff_url":"https://github.com/citizens/blog/pull/4.diff","patch_url":"https://github.com/citizens/blog/pull/4.patch","issue_url":"https://api.github.com/repos/citizens/blog/issues/4","number":4,"state":"open","locked":false,"title":"Setup API testing","user":{"login":"citizens","id":742111,"avatar_url":"https://avatars2.githubusercontent.com/u/742111?v=4","gravatar_id":"","url":"https://api.github.com/users/citizens","html_url":"https://github.com/citizens","followers_url":"https://api.github.com/users/citizens/followers","following_url":"https://api.github.com/users/citizens/following{/other_user}","gists_url":"https://api.github.com/users/citizens/gists{/gist_id}","starred_url":"https://api.github.com/users/citizens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citizens/subscriptions","organizations_url":"https://api.github.com/users/citizens/orgs","repos_url":"https://api.github.com/users/citizens/repos","events_url":"https://api.github.com/users/citizens/events{/privacy}","received_events_url":"https://api.github.com/users/citizens/received_events","type":"User","site_admin":false},"body":"## Testing\r\nIn its current state, the API must be live and the DB must be seeded for the tests to pass. \r\n\r\n`npm test`\r\n","created_at":"2018-05-29T19:54:30Z","updated_at":"2018-05-29T19:54:30Z","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/citizens/blog/pulls/4/commits","review_comments_url":"https://api.github.com/repos/citizens/blog/pulls/4/comments","review_comment_url":"https://api.github.com/repos/citizens/blog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/citizens/blog/issues/4/comments","statuses_url":"https://api.github.com/repos/citizens/blog/statuses/e2e682ac0f55641fa52660ac835d908ffaad89bb","head":{"label":"citizens:chore/testing","ref":"chore/testing","sha":"e2e682ac0f55641fa52660ac835d908ffaad89bb","user":{"login":"citizens","id":742111,"avatar_url":"https://avatars2.githubusercontent.com/u/742111?v=4","gravatar_id":"","url":"https://api.github.com/users/citizens","html_url":"https://github.com/citizens","followers_url":"https://api.github.com/users/citizens/followers","following_url":"https://api.github.com/users/citizens/following{/other_user}","gists_url":"https://api.github.com/users/citizens/gists{/gist_id}","starred_url":"https://api.github.com/users/citizens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citizens/subscriptions","organizations_url":"https://api.github.com/users/citizens/orgs","repos_url":"https://api.github.com/users/citizens/repos","events_url":"https://api.github.com/users/citizens/events{/privacy}","received_events_url":"https://api.github.com/users/citizens/received_events","type":"User","site_admin":false},"repo":{"id":134908639,"name":"blog","full_name":"citizens/blog","owner":{"login":"citizens","id":742111,"avatar_url":"https://avatars2.githubusercontent.com/u/742111?v=4","gravatar_id":"","url":"https://api.github.com/users/citizens","html_url":"https://github.com/citizens","followers_url":"https://api.github.com/users/citizens/followers","following_url":"https://api.github.com/users/citizens/following{/other_user}","gists_url":"https://api.github.com/users/citizens/gists{/gist_id}","starred_url":"https://api.github.com/users/citizens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citizens/subscriptions","organizations_url":"https://api.github.com/users/citizens/orgs","repos_url":"https://api.github.com/users/citizens/repos","events_url":"https://api.github.com/users/citizens/events{/privacy}","received_events_url":"https://api.github.com/users/citizens/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/citizens/blog","description":"React & Express Sample app","fork":false,"url":"https://api.github.com/repos/citizens/blog","forks_url":"https://api.github.com/repos/citizens/blog/forks","keys_url":"https://api.github.com/repos/citizens/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/citizens/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/citizens/blog/teams","hooks_url":"https://api.github.com/repos/citizens/blog/hooks","issue_events_url":"https://api.github.com/repos/citizens/blog/issues/events{/number}","events_url":"https://api.github.com/repos/citizens/blog/events","assignees_url":"https://api.github.com/repos/citizens/blog/assignees{/user}","branches_url":"https://api.github.com/repos/citizens/blog/branches{/branch}","tags_url":"https://api.github.com/repos/citizens/blog/tags","blobs_url":"https://api.github.com/repos/citizens/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/citizens/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/citizens/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/citizens/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/citizens/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/citizens/blog/languages","stargazers_url":"https://api.github.com/repos/citizens/blog/stargazers","contributors_url":"https://api.github.com/repos/citizens/blog/contributors","subscribers_url":"https://api.github.com/repos/citizens/blog/subscribers","subscription_url":"https://api.github.com/repos/citizens/blog/subscription","commits_url":"https://api.github.com/repos/citizens/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/citizens/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/citizens/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/citizens/blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/citizens/blog/contents/{+path}","compare_url":"https://api.github.com/repos/citizens/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/citizens/blog/merges","archive_url":"https://api.github.com/repos/citizens/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/citizens/blog/downloads","issues_url":"https://api.github.com/repos/citizens/blog/issues{/number}","pulls_url":"https://api.github.com/repos/citizens/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/citizens/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/citizens/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/citizens/blog/labels{/name}","releases_url":"https://api.github.com/repos/citizens/blog/releases{/id}","deployments_url":"https://api.github.com/repos/citizens/blog/deployments","created_at":"2018-05-25T22:02:04Z","updated_at":"2018-05-29T19:00:49Z","pushed_at":"2018-05-29T19:51:36Z","git_url":"git://github.com/citizens/blog.git","ssh_url":"git@github.com:citizens/blog.git","clone_url":"https://github.com/citizens/blog.git","svn_url":"https://github.com/citizens/blog","homepage":"","size":153,"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":"dev"}},"base":{"label":"citizens:dev","ref":"dev","sha":"061eb7874f974b9d70ef61a2f2c73b39ed9da82a","user":{"login":"citizens","id":742111,"avatar_url":"https://avatars2.githubusercontent.com/u/742111?v=4","gravatar_id":"","url":"https://api.github.com/users/citizens","html_url":"https://github.com/citizens","followers_url":"https://api.github.com/users/citizens/followers","following_url":"https://api.github.com/users/citizens/following{/other_user}","gists_url":"https://api.github.com/users/citizens/gists{/gist_id}","starred_url":"https://api.github.com/users/citizens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citizens/subscriptions","organizations_url":"https://api.github.com/users/citizens/orgs","repos_url":"https://api.github.com/users/citizens/repos","events_url":"https://api.github.com/users/citizens/events{/privacy}","received_events_url":"https://api.github.com/users/citizens/received_events","type":"User","site_admin":false},"repo":{"id":134908639,"name":"blog","full_name":"citizens/blog","owner":{"login":"citizens","id":742111,"avatar_url":"https://avatars2.githubusercontent.com/u/742111?v=4","gravatar_id":"","url":"https://api.github.com/users/citizens","html_url":"https://github.com/citizens","followers_url":"https://api.github.com/users/citizens/followers","following_url":"https://api.github.com/users/citizens/following{/other_user}","gists_url":"https://api.github.com/users/citizens/gists{/gist_id}","starred_url":"https://api.github.com/users/citizens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citizens/subscriptions","organizations_url":"https://api.github.com/users/citizens/orgs","repos_url":"https://api.github.com/users/citizens/repos","events_url":"https://api.github.com/users/citizens/events{/privacy}","received_events_url":"https://api.github.com/users/citizens/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/citizens/blog","description":"React & Express Sample app","fork":false,"url":"https://api.github.com/repos/citizens/blog","forks_url":"https://api.github.com/repos/citizens/blog/forks","keys_url":"https://api.github.com/repos/citizens/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/citizens/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/citizens/blog/teams","hooks_url":"https://api.github.com/repos/citizens/blog/hooks","issue_events_url":"https://api.github.com/repos/citizens/blog/issues/events{/number}","events_url":"https://api.github.com/repos/citizens/blog/events","assignees_url":"https://api.github.com/repos/citizens/blog/assignees{/user}","branches_url":"https://api.github.com/repos/citizens/blog/branches{/branch}","tags_url":"https://api.github.com/repos/citizens/blog/tags","blobs_url":"https://api.github.com/repos/citizens/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/citizens/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/citizens/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/citizens/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/citizens/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/citizens/blog/languages","stargazers_url":"https://api.github.com/repos/citizens/blog/stargazers","contributors_url":"https://api.github.com/repos/citizens/blog/contributors","subscribers_url":"https://api.github.com/repos/citizens/blog/subscribers","subscription_url":"https://api.github.com/repos/citizens/blog/subscription","commits_url":"https://api.github.com/repos/citizens/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/citizens/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/citizens/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/citizens/blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/citizens/blog/contents/{+path}","compare_url":"https://api.github.com/repos/citizens/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/citizens/blog/merges","archive_url":"https://api.github.com/repos/citizens/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/citizens/blog/downloads","issues_url":"https://api.github.com/repos/citizens/blog/issues{/number}","pulls_url":"https://api.github.com/repos/citizens/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/citizens/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/citizens/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/citizens/blog/labels{/name}","releases_url":"https://api.github.com/repos/citizens/blog/releases{/id}","deployments_url":"https://api.github.com/repos/citizens/blog/deployments","created_at":"2018-05-25T22:02:04Z","updated_at":"2018-05-29T19:00:49Z","pushed_at":"2018-05-29T19:51:36Z","git_url":"git://github.com/citizens/blog.git","ssh_url":"git@github.com:citizens/blog.git","clone_url":"https://github.com/citizens/blog.git","svn_url":"https://github.com/citizens/blog","homepage":"","size":153,"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":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/citizens/blog/pulls/4"},"html":{"href":"https://github.com/citizens/blog/pull/4"},"issue":{"href":"https://api.github.com/repos/citizens/blog/issues/4"},"comments":{"href":"https://api.github.com/repos/citizens/blog/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/citizens/blog/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/citizens/blog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/citizens/blog/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/citizens/blog/statuses/e2e682ac0f55641fa52660ac835d908ffaad89bb"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":156,"deletions":3,"changed_files":5}}
{"actor":{"display_login":"citizens"}}