{"action":"created","comment":{"url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/pulls/comments/171184452","pull_request_review_id":99991413,"id":171184452,"diff_hunk":"@@ -0,0 +1,65 @@\n+{\n+  \"date_flag\": \"expired\",\n+  \"tier\": \"UPPER\",\n+  \"registrationType\": \"carrier_broker_dealer\",\n+  \"businessType\": \"limitedCompany\",\n+  \"otherBusinesses\": \"yes\",\n+  \"isMainService\": \"yes\",\n+  \"onlyAMF\": \"no\",\n+  \"companyName\": \"Limited Company Seed\",\n+  \"companyNo\": \"946107\",\n+  \"firstName\": \"Test\",\n+  \"lastName\": \"User\",\n+  \"phoneNumber\": \"01234 567890\",\n+  \"contactEmail\": \"user@waste-exemplar.gov.uk\",\n+  \"addresses\": [{\n+      \"addressType\": \"REGISTERED\",\n+      \"addressMode\": \"manual-uk\",\n+      \"houseNumber\": \"Unit 5\",\n+      \"addressLine1\": \"Horizon House\",\n+      \"addressLine2\": \"Deanery Road\",\n+      \"townCity\": \"Bristol\",\n+      \"postcode\": \"BS1 5AH\",\n+      \"location\": {\n+        \"lat\": 0,\n+        \"lon\": 0\n+      }\n+    },\n+    {\n+      \"addressType\": \"POSTAL\",\n+      \"houseNumber\": \"Richard Fairclough House\",\n+      \"addressLine1\": \"Knutsford Road\",\n+      \"addressLine2\": \"Latchford\",\n+      \"addressLine3\": \"\",\n+      \"addressLine4\": \"\",\n+      \"townCity\": \"Warrington\",\n+      \"postcode\": \"WA4 1HT\",\n+      \"country\": \"\"\n+    }\n+  ],\n+  \"keyPeople\": [{\n+    \"firstName\": \"Test\",\n+    \"lastName\": \"Employee\",\n+    \"dateOfBirth\": \"1978-01-01\",\n+    \"position\": \"Director\",\n+    \"personType\": \"KEY\",\n+    \"convictionSearchResult\": {\n+      \"matchResult\": \"NO\",\n+      \"confirmed\": \"no\"\n+    }\n+  }],\n+  \"accountEmail\": \"user@waste-exemplar.gov.uk\",\n+  \"declaredConvictions\": \"no\",\n+  \"declaration\": 1,\n+  \"regIdentifier\": \"CBDU17\",\n+  \"metaData\": {\n+    \"anotherString\": \"userDetailAddedAtRegistration\",\n+    \"status\": \"ACTIVE\",","path":"db/seeds/CBDU17.json","position":57,"original_position":57,"commit_id":"020258b7684542fdf6c344e274e11181b8d049c7","original_commit_id":"020258b7684542fdf6c344e274e11181b8d049c7","user":{"login":"irisfaraway","id":13369917,"avatar_url":"https://avatars2.githubusercontent.com/u/13369917?v=4","gravatar_id":"","url":"https://api.github.com/users/irisfaraway","html_url":"https://github.com/irisfaraway","followers_url":"https://api.github.com/users/irisfaraway/followers","following_url":"https://api.github.com/users/irisfaraway/following{/other_user}","gists_url":"https://api.github.com/users/irisfaraway/gists{/gist_id}","starred_url":"https://api.github.com/users/irisfaraway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irisfaraway/subscriptions","organizations_url":"https://api.github.com/users/irisfaraway/orgs","repos_url":"https://api.github.com/users/irisfaraway/repos","events_url":"https://api.github.com/users/irisfaraway/events{/privacy}","received_events_url":"https://api.github.com/users/irisfaraway/received_events","type":"User","site_admin":false},"body":"Should the status be `EXPIRED` here or are we just testing the date? Ditto for the other expired seed.","created_at":"2018-02-28T09:28:32Z","updated_at":"2018-02-28T09:28:45Z","html_url":"https://github.com/DEFRA/waste-carriers-renewals/pull/90#discussion_r171184452","pull_request_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/pulls/90","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/pulls/comments/171184452"},"html":{"href":"https://github.com/DEFRA/waste-carriers-renewals/pull/90#discussion_r171184452"},"pull_request":{"href":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/pulls/90"}}},"pull_request":{"url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/pulls/90","id":171887223,"html_url":"https://github.com/DEFRA/waste-carriers-renewals/pull/90","diff_url":"https://github.com/DEFRA/waste-carriers-renewals/pull/90.diff","patch_url":"https://github.com/DEFRA/waste-carriers-renewals/pull/90.patch","issue_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/issues/90","number":90,"state":"open","locked":false,"title":"changing expiry flag for seed data","user":{"login":"timstone","id":7448162,"avatar_url":"https://avatars2.githubusercontent.com/u/7448162?v=4","gravatar_id":"","url":"https://api.github.com/users/timstone","html_url":"https://github.com/timstone","followers_url":"https://api.github.com/users/timstone/followers","following_url":"https://api.github.com/users/timstone/following{/other_user}","gists_url":"https://api.github.com/users/timstone/gists{/gist_id}","starred_url":"https://api.github.com/users/timstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timstone/subscriptions","organizations_url":"https://api.github.com/users/timstone/orgs","repos_url":"https://api.github.com/users/timstone/repos","events_url":"https://api.github.com/users/timstone/events{/privacy}","received_events_url":"https://api.github.com/users/timstone/received_events","type":"User","site_admin":false},"body":"Changing the flag status for two registrations so that it matches my tests","created_at":"2018-02-28T08:40:43Z","updated_at":"2018-02-28T09:28:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0762fee8b9a9c4a966c11bb534229b577c53c169","assignee":{"login":"timstone","id":7448162,"avatar_url":"https://avatars2.githubusercontent.com/u/7448162?v=4","gravatar_id":"","url":"https://api.github.com/users/timstone","html_url":"https://github.com/timstone","followers_url":"https://api.github.com/users/timstone/followers","following_url":"https://api.github.com/users/timstone/following{/other_user}","gists_url":"https://api.github.com/users/timstone/gists{/gist_id}","starred_url":"https://api.github.com/users/timstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timstone/subscriptions","organizations_url":"https://api.github.com/users/timstone/orgs","repos_url":"https://api.github.com/users/timstone/repos","events_url":"https://api.github.com/users/timstone/events{/privacy}","received_events_url":"https://api.github.com/users/timstone/received_events","type":"User","site_admin":false},"assignees":[{"login":"timstone","id":7448162,"avatar_url":"https://avatars2.githubusercontent.com/u/7448162?v=4","gravatar_id":"","url":"https://api.github.com/users/timstone","html_url":"https://github.com/timstone","followers_url":"https://api.github.com/users/timstone/followers","following_url":"https://api.github.com/users/timstone/following{/other_user}","gists_url":"https://api.github.com/users/timstone/gists{/gist_id}","starred_url":"https://api.github.com/users/timstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timstone/subscriptions","organizations_url":"https://api.github.com/users/timstone/orgs","repos_url":"https://api.github.com/users/timstone/repos","events_url":"https://api.github.com/users/timstone/events{/privacy}","received_events_url":"https://api.github.com/users/timstone/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/pulls/90/commits","review_comments_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/pulls/90/comments","review_comment_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/issues/90/comments","statuses_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/statuses/020258b7684542fdf6c344e274e11181b8d049c7","head":{"label":"DEFRA:feature/adding-expiry-dates-to-seed-data","ref":"feature/adding-expiry-dates-to-seed-data","sha":"020258b7684542fdf6c344e274e11181b8d049c7","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":111112709,"name":"waste-carriers-renewals","full_name":"DEFRA/waste-carriers-renewals","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/waste-carriers-renewals","description":"The renewals service for the Waste carriers digital service","fork":false,"url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals","forks_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/forks","keys_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/teams","hooks_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/hooks","issue_events_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/issues/events{/number}","events_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/events","assignees_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/assignees{/user}","branches_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/branches{/branch}","tags_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/tags","blobs_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/git/refs{/sha}","trees_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/statuses/{sha}","languages_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/languages","stargazers_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/stargazers","contributors_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/contributors","subscribers_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/subscribers","subscription_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/subscription","commits_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/commits{/sha}","git_commits_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/git/commits{/sha}","comments_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/comments{/number}","issue_comment_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/issues/comments{/number}","contents_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/contents/{+path}","compare_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/merges","archive_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/downloads","issues_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/issues{/number}","pulls_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/pulls{/number}","milestones_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/milestones{/number}","notifications_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/labels{/name}","releases_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/releases{/id}","deployments_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/deployments","created_at":"2017-11-17T14:29:21Z","updated_at":"2017-11-17T14:30:50Z","pushed_at":"2018-02-28T08:40:44Z","git_url":"git://github.com/DEFRA/waste-carriers-renewals.git","ssh_url":"git@github.com:DEFRA/waste-carriers-renewals.git","clone_url":"https://github.com/DEFRA/waste-carriers-renewals.git","svn_url":"https://github.com/DEFRA/waste-carriers-renewals","homepage":null,"size":403,"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":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"DEFRA:master","ref":"master","sha":"78343e500e9e50e070ec9cd91782343b1d042351","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":111112709,"name":"waste-carriers-renewals","full_name":"DEFRA/waste-carriers-renewals","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/waste-carriers-renewals","description":"The renewals service for the Waste carriers digital service","fork":false,"url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals","forks_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/forks","keys_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/teams","hooks_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/hooks","issue_events_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/issues/events{/number}","events_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/events","assignees_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/assignees{/user}","branches_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/branches{/branch}","tags_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/tags","blobs_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/git/refs{/sha}","trees_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/statuses/{sha}","languages_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/languages","stargazers_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/stargazers","contributors_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/contributors","subscribers_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/subscribers","subscription_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/subscription","commits_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/commits{/sha}","git_commits_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/git/commits{/sha}","comments_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/comments{/number}","issue_comment_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/issues/comments{/number}","contents_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/contents/{+path}","compare_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/merges","archive_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/downloads","issues_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/issues{/number}","pulls_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/pulls{/number}","milestones_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/milestones{/number}","notifications_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/labels{/name}","releases_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/releases{/id}","deployments_url":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/deployments","created_at":"2017-11-17T14:29:21Z","updated_at":"2017-11-17T14:30:50Z","pushed_at":"2018-02-28T08:40:44Z","git_url":"git://github.com/DEFRA/waste-carriers-renewals.git","ssh_url":"git@github.com:DEFRA/waste-carriers-renewals.git","clone_url":"https://github.com/DEFRA/waste-carriers-renewals.git","svn_url":"https://github.com/DEFRA/waste-carriers-renewals","homepage":null,"size":403,"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":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/pulls/90"},"html":{"href":"https://github.com/DEFRA/waste-carriers-renewals/pull/90"},"issue":{"href":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/issues/90"},"comments":{"href":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/DEFRA/waste-carriers-renewals/statuses/020258b7684542fdf6c344e274e11181b8d049c7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"irisfaraway"}}