{"action":"created","comment":{"url":"https://api.github.com/repos/lob/hapi-sanitize-payload/pulls/comments/172682223","pull_request_review_id":101739813,"id":172682223,"diff_hunk":"@@ -4,22 +4,15 @@ const Hapi = require('hapi');\n \n const Plugin = require('../lib');\n \n-function fixture (options, routes) {\n-  const server = new Hapi.Server();\n+const fixture = async (options, routes) => {\n+  const server = new Hapi.Server({ port: 80 });","path":"test/index.test.js","position":7,"original_position":7,"commit_id":"45ac77881623cdb4e107fe8179e14359bfdd3ba2","original_commit_id":"45ac77881623cdb4e107fe8179e14359bfdd3ba2","user":{"login":"dmlittle","id":3803621,"avatar_url":"https://avatars0.githubusercontent.com/u/3803621?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlittle","html_url":"https://github.com/dmlittle","followers_url":"https://api.github.com/users/dmlittle/followers","following_url":"https://api.github.com/users/dmlittle/following{/other_user}","gists_url":"https://api.github.com/users/dmlittle/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlittle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlittle/subscriptions","organizations_url":"https://api.github.com/users/dmlittle/orgs","repos_url":"https://api.github.com/users/dmlittle/repos","events_url":"https://api.github.com/users/dmlittle/events{/privacy}","received_events_url":"https://api.github.com/users/dmlittle/received_events","type":"User","site_admin":false},"body":"Since we're using `server.inject()` there's no need to specify a port in the tests.","created_at":"2018-03-06T22:27:21Z","updated_at":"2018-03-06T22:29:10Z","html_url":"https://github.com/lob/hapi-sanitize-payload/pull/8#discussion_r172682223","pull_request_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/pulls/8","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/lob/hapi-sanitize-payload/pulls/comments/172682223"},"html":{"href":"https://github.com/lob/hapi-sanitize-payload/pull/8#discussion_r172682223"},"pull_request":{"href":"https://api.github.com/repos/lob/hapi-sanitize-payload/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/lob/hapi-sanitize-payload/pulls/8","id":172211529,"html_url":"https://github.com/lob/hapi-sanitize-payload/pull/8","diff_url":"https://github.com/lob/hapi-sanitize-payload/pull/8.diff","patch_url":"https://github.com/lob/hapi-sanitize-payload/pull/8.patch","issue_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/issues/8","number":8,"state":"open","locked":false,"title":"Upgrade to Hapi-17","user":{"login":"ajaxscape","id":5589750,"avatar_url":"https://avatars3.githubusercontent.com/u/5589750?v=4","gravatar_id":"","url":"https://api.github.com/users/ajaxscape","html_url":"https://github.com/ajaxscape","followers_url":"https://api.github.com/users/ajaxscape/followers","following_url":"https://api.github.com/users/ajaxscape/following{/other_user}","gists_url":"https://api.github.com/users/ajaxscape/gists{/gist_id}","starred_url":"https://api.github.com/users/ajaxscape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajaxscape/subscriptions","organizations_url":"https://api.github.com/users/ajaxscape/orgs","repos_url":"https://api.github.com/users/ajaxscape/repos","events_url":"https://api.github.com/users/ajaxscape/events{/privacy}","received_events_url":"https://api.github.com/users/ajaxscape/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-01T11:31:14Z","updated_at":"2018-03-06T22:29:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"899c2f342a3cb90d780aec85a57de08f441b1972","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/pulls/8/commits","review_comments_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/pulls/8/comments","review_comment_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/issues/8/comments","statuses_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/statuses/45ac77881623cdb4e107fe8179e14359bfdd3ba2","head":{"label":"DEFRA:master","ref":"master","sha":"45ac77881623cdb4e107fe8179e14359bfdd3ba2","user":{"login":"DEFRA","id":5528822,"avatar_url":"https://avatars2.githubusercontent.com/u/5528822?v=4","gravatar_id":"","url":"https://api.github.com/users/DEFRA","html_url":"https://github.com/DEFRA","followers_url":"https://api.github.com/users/DEFRA/followers","following_url":"https://api.github.com/users/DEFRA/following{/other_user}","gists_url":"https://api.github.com/users/DEFRA/gists{/gist_id}","starred_url":"https://api.github.com/users/DEFRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DEFRA/subscriptions","organizations_url":"https://api.github.com/users/DEFRA/orgs","repos_url":"https://api.github.com/users/DEFRA/repos","events_url":"https://api.github.com/users/DEFRA/events{/privacy}","received_events_url":"https://api.github.com/users/DEFRA/received_events","type":"Organization","site_admin":false},"repo":{"id":123422781,"name":"hapi-sanitize-payload","full_name":"DEFRA/hapi-sanitize-payload","owner":{"login":"DEFRA","id":5528822,"avatar_url":"https://avatars2.githubusercontent.com/u/5528822?v=4","gravatar_id":"","url":"https://api.github.com/users/DEFRA","html_url":"https://github.com/DEFRA","followers_url":"https://api.github.com/users/DEFRA/followers","following_url":"https://api.github.com/users/DEFRA/following{/other_user}","gists_url":"https://api.github.com/users/DEFRA/gists{/gist_id}","starred_url":"https://api.github.com/users/DEFRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DEFRA/subscriptions","organizations_url":"https://api.github.com/users/DEFRA/orgs","repos_url":"https://api.github.com/users/DEFRA/repos","events_url":"https://api.github.com/users/DEFRA/events{/privacy}","received_events_url":"https://api.github.com/users/DEFRA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DEFRA/hapi-sanitize-payload","description":"Hapi plugin to sanitize the request payload","fork":true,"url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload","forks_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/forks","keys_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/teams","hooks_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/hooks","issue_events_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/issues/events{/number}","events_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/events","assignees_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/assignees{/user}","branches_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/branches{/branch}","tags_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/tags","blobs_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/git/refs{/sha}","trees_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/statuses/{sha}","languages_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/languages","stargazers_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/stargazers","contributors_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/contributors","subscribers_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/subscribers","subscription_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/subscription","commits_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/commits{/sha}","git_commits_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/git/commits{/sha}","comments_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/comments{/number}","issue_comment_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/issues/comments{/number}","contents_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/contents/{+path}","compare_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/merges","archive_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/downloads","issues_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/issues{/number}","pulls_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/pulls{/number}","milestones_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/milestones{/number}","notifications_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/labels{/name}","releases_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/releases{/id}","deployments_url":"https://api.github.com/repos/DEFRA/hapi-sanitize-payload/deployments","created_at":"2018-03-01T10:56:14Z","updated_at":"2018-03-05T12:09:13Z","pushed_at":"2018-03-02T16:10:53Z","git_url":"git://github.com/DEFRA/hapi-sanitize-payload.git","ssh_url":"git@github.com:DEFRA/hapi-sanitize-payload.git","clone_url":"https://github.com/DEFRA/hapi-sanitize-payload.git","svn_url":"https://github.com/DEFRA/hapi-sanitize-payload","homepage":"","size":22,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lob:master","ref":"master","sha":"8608f2b6bc7ad72d99beb32f6e41cfacb42160ee","user":{"login":"lob","id":4955790,"avatar_url":"https://avatars2.githubusercontent.com/u/4955790?v=4","gravatar_id":"","url":"https://api.github.com/users/lob","html_url":"https://github.com/lob","followers_url":"https://api.github.com/users/lob/followers","following_url":"https://api.github.com/users/lob/following{/other_user}","gists_url":"https://api.github.com/users/lob/gists{/gist_id}","starred_url":"https://api.github.com/users/lob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lob/subscriptions","organizations_url":"https://api.github.com/users/lob/orgs","repos_url":"https://api.github.com/users/lob/repos","events_url":"https://api.github.com/users/lob/events{/privacy}","received_events_url":"https://api.github.com/users/lob/received_events","type":"Organization","site_admin":false},"repo":{"id":53112409,"name":"hapi-sanitize-payload","full_name":"lob/hapi-sanitize-payload","owner":{"login":"lob","id":4955790,"avatar_url":"https://avatars2.githubusercontent.com/u/4955790?v=4","gravatar_id":"","url":"https://api.github.com/users/lob","html_url":"https://github.com/lob","followers_url":"https://api.github.com/users/lob/followers","following_url":"https://api.github.com/users/lob/following{/other_user}","gists_url":"https://api.github.com/users/lob/gists{/gist_id}","starred_url":"https://api.github.com/users/lob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lob/subscriptions","organizations_url":"https://api.github.com/users/lob/orgs","repos_url":"https://api.github.com/users/lob/repos","events_url":"https://api.github.com/users/lob/events{/privacy}","received_events_url":"https://api.github.com/users/lob/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lob/hapi-sanitize-payload","description":"Hapi plugin to sanitize the request payload","fork":false,"url":"https://api.github.com/repos/lob/hapi-sanitize-payload","forks_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/forks","keys_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/teams","hooks_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/hooks","issue_events_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/issues/events{/number}","events_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/events","assignees_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/assignees{/user}","branches_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/branches{/branch}","tags_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/tags","blobs_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/git/refs{/sha}","trees_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/statuses/{sha}","languages_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/languages","stargazers_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/stargazers","contributors_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/contributors","subscribers_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/subscribers","subscription_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/subscription","commits_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/commits{/sha}","git_commits_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/git/commits{/sha}","comments_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/comments{/number}","issue_comment_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/issues/comments{/number}","contents_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/contents/{+path}","compare_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/merges","archive_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/downloads","issues_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/issues{/number}","pulls_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/pulls{/number}","milestones_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/milestones{/number}","notifications_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/labels{/name}","releases_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/releases{/id}","deployments_url":"https://api.github.com/repos/lob/hapi-sanitize-payload/deployments","created_at":"2016-03-04T06:17:46Z","updated_at":"2018-01-31T00:29:10Z","pushed_at":"2018-03-02T16:10:54Z","git_url":"git://github.com/lob/hapi-sanitize-payload.git","ssh_url":"git@github.com:lob/hapi-sanitize-payload.git","clone_url":"https://github.com/lob/hapi-sanitize-payload.git","svn_url":"https://github.com/lob/hapi-sanitize-payload","homepage":"","size":19,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":2,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lob/hapi-sanitize-payload/pulls/8"},"html":{"href":"https://github.com/lob/hapi-sanitize-payload/pull/8"},"issue":{"href":"https://api.github.com/repos/lob/hapi-sanitize-payload/issues/8"},"comments":{"href":"https://api.github.com/repos/lob/hapi-sanitize-payload/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/lob/hapi-sanitize-payload/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/lob/hapi-sanitize-payload/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lob/hapi-sanitize-payload/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/lob/hapi-sanitize-payload/statuses/45ac77881623cdb4e107fe8179e14359bfdd3ba2"}},"author_association":"NONE"}}
{"actor":{"display_login":"dmlittle"}}