{"action":"closed","number":130,"pull_request":{"url":"https://api.github.com/repos/uktrade/directory-tests/pulls/130","id":140372670,"html_url":"https://github.com/uktrade/directory-tests/pull/130","diff_url":"https://github.com/uktrade/directory-tests/pull/130.diff","patch_url":"https://github.com/uktrade/directory-tests/pull/130.patch","issue_url":"https://api.github.com/repos/uktrade/directory-tests/issues/130","number":130,"state":"closed","locked":false,"title":"ED-2094 verify profile using link provided in the verification letter","user":{"login":"kowalcj0","id":910451,"avatar_url":"https://avatars2.githubusercontent.com/u/910451?v=4","gravatar_id":"","url":"https://api.github.com/users/kowalcj0","html_url":"https://github.com/kowalcj0","followers_url":"https://api.github.com/users/kowalcj0/followers","following_url":"https://api.github.com/users/kowalcj0/following{/other_user}","gists_url":"https://api.github.com/users/kowalcj0/gists{/gist_id}","starred_url":"https://api.github.com/users/kowalcj0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kowalcj0/subscriptions","organizations_url":"https://api.github.com/users/kowalcj0/orgs","repos_url":"https://api.github.com/users/kowalcj0/repos","events_url":"https://api.github.com/users/kowalcj0/events{/privacy}","received_events_url":"https://api.github.com/users/kowalcj0/received_events","type":"User","site_admin":false},"body":"this adds 2 new scenarios\r\n\r\n```gherkin\r\n    @ED-2094\r\n    @profile\r\n    @verification\r\n    @letter\r\n    Scenario: Logged-in Supplier should be able to verify profile by using code and link from the letter\r\n      Given \"Annette Geissinger\" is an unauthenticated supplier\r\n      And \"Annette Geissinger\" created a SSO/great.gov.uk account associated with randomly selected company \"Company X\"\r\n      And \"Annette Geissinger\" confirmed her email address\r\n      And \"Annette Geissinger\" built the company profile\r\n      And \"Annette Geissinger\" set the company description\r\n      And \"Annette Geissinger\" received the letter with verification code\r\n\r\n      When \"Annette Geissinger\" goes to the verification link from the letter as authenticated user\r\n      And \"Annette Geissinger\" decides to verify her identity with the address\r\n      And \"Annette Geissinger\" submits the verification code\r\n\r\n      Then \"Annette Geissinger\" should be told that company has been verified\r\n\r\n\r\n    @ED-2094\r\n    @profile\r\n    @verification\r\n    @letter\r\n    Scenario: Logged-out Supplier should be able to verify profile by using code and link from the letter\r\n      Given \"Annette Geissinger\" is an unauthenticated supplier\r\n      And \"Annette Geissinger\" created a SSO/great.gov.uk account associated with randomly selected company \"Company X\"\r\n      And \"Annette Geissinger\" confirmed her email address\r\n      And \"Annette Geissinger\" built the company profile\r\n      And \"Annette Geissinger\" set the company description\r\n      And \"Annette Geissinger\" signed out from Find a Buyer service\r\n      And \"Annette Geissinger\" received the letter with verification code\r\n\r\n      When \"Annette Geissinger\" goes to the verification link from the letter as unauthenticated user\r\n      And \"Annette Geissinger\" decides to verify her identity with the address\r\n      And \"Annette Geissinger\" submits the verification code\r\n\r\n      Then \"Annette Geissinger\" should be told that company has been verified\r\n```","created_at":"2017-09-11T16:02:35Z","updated_at":"2017-09-20T17:41:02Z","closed_at":"2017-09-20T17:41:02Z","merged_at":"2017-09-20T17:41:02Z","merge_commit_sha":"c1a114d8dd47b901e137f92cb5c2dc851beb48db","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/uktrade/directory-tests/pulls/130/commits","review_comments_url":"https://api.github.com/repos/uktrade/directory-tests/pulls/130/comments","review_comment_url":"https://api.github.com/repos/uktrade/directory-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uktrade/directory-tests/issues/130/comments","statuses_url":"https://api.github.com/repos/uktrade/directory-tests/statuses/0e4de53beef07223d86819effd8eb7a0874c3c45","head":{"label":"uktrade:ED-2094-verify-with-link-from-letter","ref":"ED-2094-verify-with-link-from-letter","sha":"0e4de53beef07223d86819effd8eb7a0874c3c45","user":{"login":"uktrade","id":15107524,"avatar_url":"https://avatars2.githubusercontent.com/u/15107524?v=4","gravatar_id":"","url":"https://api.github.com/users/uktrade","html_url":"https://github.com/uktrade","followers_url":"https://api.github.com/users/uktrade/followers","following_url":"https://api.github.com/users/uktrade/following{/other_user}","gists_url":"https://api.github.com/users/uktrade/gists{/gist_id}","starred_url":"https://api.github.com/users/uktrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uktrade/subscriptions","organizations_url":"https://api.github.com/users/uktrade/orgs","repos_url":"https://api.github.com/users/uktrade/repos","events_url":"https://api.github.com/users/uktrade/events{/privacy}","received_events_url":"https://api.github.com/users/uktrade/received_events","type":"Organization","site_admin":false},"repo":{"id":71367747,"name":"directory-tests","full_name":"uktrade/directory-tests","owner":{"login":"uktrade","id":15107524,"avatar_url":"https://avatars2.githubusercontent.com/u/15107524?v=4","gravatar_id":"","url":"https://api.github.com/users/uktrade","html_url":"https://github.com/uktrade","followers_url":"https://api.github.com/users/uktrade/followers","following_url":"https://api.github.com/users/uktrade/following{/other_user}","gists_url":"https://api.github.com/users/uktrade/gists{/gist_id}","starred_url":"https://api.github.com/users/uktrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uktrade/subscriptions","organizations_url":"https://api.github.com/users/uktrade/orgs","repos_url":"https://api.github.com/users/uktrade/repos","events_url":"https://api.github.com/users/uktrade/events{/privacy}","received_events_url":"https://api.github.com/users/uktrade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uktrade/directory-tests","description":"Integration tests for Directory of UK exporters","fork":false,"url":"https://api.github.com/repos/uktrade/directory-tests","forks_url":"https://api.github.com/repos/uktrade/directory-tests/forks","keys_url":"https://api.github.com/repos/uktrade/directory-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uktrade/directory-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uktrade/directory-tests/teams","hooks_url":"https://api.github.com/repos/uktrade/directory-tests/hooks","issue_events_url":"https://api.github.com/repos/uktrade/directory-tests/issues/events{/number}","events_url":"https://api.github.com/repos/uktrade/directory-tests/events","assignees_url":"https://api.github.com/repos/uktrade/directory-tests/assignees{/user}","branches_url":"https://api.github.com/repos/uktrade/directory-tests/branches{/branch}","tags_url":"https://api.github.com/repos/uktrade/directory-tests/tags","blobs_url":"https://api.github.com/repos/uktrade/directory-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uktrade/directory-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uktrade/directory-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/uktrade/directory-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uktrade/directory-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/uktrade/directory-tests/languages","stargazers_url":"https://api.github.com/repos/uktrade/directory-tests/stargazers","contributors_url":"https://api.github.com/repos/uktrade/directory-tests/contributors","subscribers_url":"https://api.github.com/repos/uktrade/directory-tests/subscribers","subscription_url":"https://api.github.com/repos/uktrade/directory-tests/subscription","commits_url":"https://api.github.com/repos/uktrade/directory-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/uktrade/directory-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/uktrade/directory-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/uktrade/directory-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/uktrade/directory-tests/contents/{+path}","compare_url":"https://api.github.com/repos/uktrade/directory-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uktrade/directory-tests/merges","archive_url":"https://api.github.com/repos/uktrade/directory-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uktrade/directory-tests/downloads","issues_url":"https://api.github.com/repos/uktrade/directory-tests/issues{/number}","pulls_url":"https://api.github.com/repos/uktrade/directory-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/uktrade/directory-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/uktrade/directory-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uktrade/directory-tests/labels{/name}","releases_url":"https://api.github.com/repos/uktrade/directory-tests/releases{/id}","deployments_url":"https://api.github.com/repos/uktrade/directory-tests/deployments","created_at":"2016-10-19T14:48:57Z","updated_at":"2017-06-02T09:09:10Z","pushed_at":"2017-09-20T17:41:02Z","git_url":"git://github.com/uktrade/directory-tests.git","ssh_url":"git@github.com:uktrade/directory-tests.git","clone_url":"https://github.com/uktrade/directory-tests.git","svn_url":"https://github.com/uktrade/directory-tests","homepage":null,"size":6032,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"uktrade:master","ref":"master","sha":"c3235c2beb5aaf0f3a6db95ec97ae96db1da24a8","user":{"login":"uktrade","id":15107524,"avatar_url":"https://avatars2.githubusercontent.com/u/15107524?v=4","gravatar_id":"","url":"https://api.github.com/users/uktrade","html_url":"https://github.com/uktrade","followers_url":"https://api.github.com/users/uktrade/followers","following_url":"https://api.github.com/users/uktrade/following{/other_user}","gists_url":"https://api.github.com/users/uktrade/gists{/gist_id}","starred_url":"https://api.github.com/users/uktrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uktrade/subscriptions","organizations_url":"https://api.github.com/users/uktrade/orgs","repos_url":"https://api.github.com/users/uktrade/repos","events_url":"https://api.github.com/users/uktrade/events{/privacy}","received_events_url":"https://api.github.com/users/uktrade/received_events","type":"Organization","site_admin":false},"repo":{"id":71367747,"name":"directory-tests","full_name":"uktrade/directory-tests","owner":{"login":"uktrade","id":15107524,"avatar_url":"https://avatars2.githubusercontent.com/u/15107524?v=4","gravatar_id":"","url":"https://api.github.com/users/uktrade","html_url":"https://github.com/uktrade","followers_url":"https://api.github.com/users/uktrade/followers","following_url":"https://api.github.com/users/uktrade/following{/other_user}","gists_url":"https://api.github.com/users/uktrade/gists{/gist_id}","starred_url":"https://api.github.com/users/uktrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uktrade/subscriptions","organizations_url":"https://api.github.com/users/uktrade/orgs","repos_url":"https://api.github.com/users/uktrade/repos","events_url":"https://api.github.com/users/uktrade/events{/privacy}","received_events_url":"https://api.github.com/users/uktrade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uktrade/directory-tests","description":"Integration tests for Directory of UK exporters","fork":false,"url":"https://api.github.com/repos/uktrade/directory-tests","forks_url":"https://api.github.com/repos/uktrade/directory-tests/forks","keys_url":"https://api.github.com/repos/uktrade/directory-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uktrade/directory-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uktrade/directory-tests/teams","hooks_url":"https://api.github.com/repos/uktrade/directory-tests/hooks","issue_events_url":"https://api.github.com/repos/uktrade/directory-tests/issues/events{/number}","events_url":"https://api.github.com/repos/uktrade/directory-tests/events","assignees_url":"https://api.github.com/repos/uktrade/directory-tests/assignees{/user}","branches_url":"https://api.github.com/repos/uktrade/directory-tests/branches{/branch}","tags_url":"https://api.github.com/repos/uktrade/directory-tests/tags","blobs_url":"https://api.github.com/repos/uktrade/directory-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uktrade/directory-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uktrade/directory-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/uktrade/directory-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uktrade/directory-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/uktrade/directory-tests/languages","stargazers_url":"https://api.github.com/repos/uktrade/directory-tests/stargazers","contributors_url":"https://api.github.com/repos/uktrade/directory-tests/contributors","subscribers_url":"https://api.github.com/repos/uktrade/directory-tests/subscribers","subscription_url":"https://api.github.com/repos/uktrade/directory-tests/subscription","commits_url":"https://api.github.com/repos/uktrade/directory-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/uktrade/directory-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/uktrade/directory-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/uktrade/directory-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/uktrade/directory-tests/contents/{+path}","compare_url":"https://api.github.com/repos/uktrade/directory-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uktrade/directory-tests/merges","archive_url":"https://api.github.com/repos/uktrade/directory-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uktrade/directory-tests/downloads","issues_url":"https://api.github.com/repos/uktrade/directory-tests/issues{/number}","pulls_url":"https://api.github.com/repos/uktrade/directory-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/uktrade/directory-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/uktrade/directory-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uktrade/directory-tests/labels{/name}","releases_url":"https://api.github.com/repos/uktrade/directory-tests/releases{/id}","deployments_url":"https://api.github.com/repos/uktrade/directory-tests/deployments","created_at":"2016-10-19T14:48:57Z","updated_at":"2017-06-02T09:09:10Z","pushed_at":"2017-09-20T17:41:02Z","git_url":"git://github.com/uktrade/directory-tests.git","ssh_url":"git@github.com:uktrade/directory-tests.git","clone_url":"https://github.com/uktrade/directory-tests.git","svn_url":"https://github.com/uktrade/directory-tests","homepage":null,"size":6032,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uktrade/directory-tests/pulls/130"},"html":{"href":"https://github.com/uktrade/directory-tests/pull/130"},"issue":{"href":"https://api.github.com/repos/uktrade/directory-tests/issues/130"},"comments":{"href":"https://api.github.com/repos/uktrade/directory-tests/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/uktrade/directory-tests/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/uktrade/directory-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uktrade/directory-tests/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/uktrade/directory-tests/statuses/0e4de53beef07223d86819effd8eb7a0874c3c45"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"kowalcj0","id":910451,"avatar_url":"https://avatars2.githubusercontent.com/u/910451?v=4","gravatar_id":"","url":"https://api.github.com/users/kowalcj0","html_url":"https://github.com/kowalcj0","followers_url":"https://api.github.com/users/kowalcj0/followers","following_url":"https://api.github.com/users/kowalcj0/following{/other_user}","gists_url":"https://api.github.com/users/kowalcj0/gists{/gist_id}","starred_url":"https://api.github.com/users/kowalcj0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kowalcj0/subscriptions","organizations_url":"https://api.github.com/users/kowalcj0/orgs","repos_url":"https://api.github.com/users/kowalcj0/repos","events_url":"https://api.github.com/users/kowalcj0/events{/privacy}","received_events_url":"https://api.github.com/users/kowalcj0/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":14,"additions":268,"deletions":48,"changed_files":14}}
{"actor":{"display_login":"kowalcj0"}}