{"action":"closed","number":22,"pull_request":{"url":"https://api.github.com/repos/hmcts/send-letter-service/pulls/22","id":177095319,"html_url":"https://github.com/hmcts/send-letter-service/pull/22","diff_url":"https://github.com/hmcts/send-letter-service/pull/22.diff","patch_url":"https://github.com/hmcts/send-letter-service/pull/22.patch","issue_url":"https://api.github.com/repos/hmcts/send-letter-service/issues/22","number":22,"state":"closed","locked":false,"title":"Add transactional attribute to SendLetter tests","user":{"login":"banderous","id":2512935,"avatar_url":"https://avatars1.githubusercontent.com/u/2512935?v=4","gravatar_id":"","url":"https://api.github.com/users/banderous","html_url":"https://github.com/banderous","followers_url":"https://api.github.com/users/banderous/followers","following_url":"https://api.github.com/users/banderous/following{/other_user}","gists_url":"https://api.github.com/users/banderous/gists{/gist_id}","starred_url":"https://api.github.com/users/banderous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banderous/subscriptions","organizations_url":"https://api.github.com/users/banderous/orgs","repos_url":"https://api.github.com/users/banderous/repos","events_url":"https://api.github.com/users/banderous/events{/privacy}","received_events_url":"https://api.github.com/users/banderous/received_events","type":"User","site_admin":false},"body":"### Change description ###\r\n\r\nFix the integration tests by ensuring records are not committed to the test database but rolled back, so that every test starts from a clean state.","created_at":"2018-03-23T14:58:59Z","updated_at":"2018-03-23T15:29:03Z","closed_at":"2018-03-23T15:29:03Z","merged_at":"2018-03-23T15:29:03Z","merge_commit_sha":"edc0b461accefe7ac827171cbe8321621e109905","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hmcts/send-letter-service/pulls/22/commits","review_comments_url":"https://api.github.com/repos/hmcts/send-letter-service/pulls/22/comments","review_comment_url":"https://api.github.com/repos/hmcts/send-letter-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmcts/send-letter-service/issues/22/comments","statuses_url":"https://api.github.com/repos/hmcts/send-letter-service/statuses/7d8bfb3006e400ef0eb838862ebf20110487db72","head":{"label":"hmcts:fixIntegrationTest","ref":"fixIntegrationTest","sha":"7d8bfb3006e400ef0eb838862ebf20110487db72","user":{"login":"hmcts","id":22817111,"avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"repo":{"id":126043068,"name":"send-letter-service","full_name":"hmcts/send-letter-service","owner":{"login":"hmcts","id":22817111,"avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmcts/send-letter-service","description":null,"fork":false,"url":"https://api.github.com/repos/hmcts/send-letter-service","forks_url":"https://api.github.com/repos/hmcts/send-letter-service/forks","keys_url":"https://api.github.com/repos/hmcts/send-letter-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/send-letter-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/send-letter-service/teams","hooks_url":"https://api.github.com/repos/hmcts/send-letter-service/hooks","issue_events_url":"https://api.github.com/repos/hmcts/send-letter-service/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/send-letter-service/events","assignees_url":"https://api.github.com/repos/hmcts/send-letter-service/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/send-letter-service/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/send-letter-service/tags","blobs_url":"https://api.github.com/repos/hmcts/send-letter-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/send-letter-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/send-letter-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/send-letter-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/send-letter-service/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/send-letter-service/languages","stargazers_url":"https://api.github.com/repos/hmcts/send-letter-service/stargazers","contributors_url":"https://api.github.com/repos/hmcts/send-letter-service/contributors","subscribers_url":"https://api.github.com/repos/hmcts/send-letter-service/subscribers","subscription_url":"https://api.github.com/repos/hmcts/send-letter-service/subscription","commits_url":"https://api.github.com/repos/hmcts/send-letter-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/send-letter-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/send-letter-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/send-letter-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/send-letter-service/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/send-letter-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/send-letter-service/merges","archive_url":"https://api.github.com/repos/hmcts/send-letter-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/send-letter-service/downloads","issues_url":"https://api.github.com/repos/hmcts/send-letter-service/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/send-letter-service/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/send-letter-service/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/send-letter-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/send-letter-service/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/send-letter-service/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/send-letter-service/deployments","created_at":"2018-03-20T15:49:31Z","updated_at":"2018-03-22T17:47:20Z","pushed_at":"2018-03-23T15:29:03Z","git_url":"git://github.com/hmcts/send-letter-service.git","ssh_url":"git@github.com:hmcts/send-letter-service.git","clone_url":"https://github.com/hmcts/send-letter-service.git","svn_url":"https://github.com/hmcts/send-letter-service","homepage":null,"size":893,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"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":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"hmcts:feature/integration-test","ref":"feature/integration-test","sha":"010683d6ab6e546274606c6c5ca26495ae9a4dda","user":{"login":"hmcts","id":22817111,"avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"repo":{"id":126043068,"name":"send-letter-service","full_name":"hmcts/send-letter-service","owner":{"login":"hmcts","id":22817111,"avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmcts/send-letter-service","description":null,"fork":false,"url":"https://api.github.com/repos/hmcts/send-letter-service","forks_url":"https://api.github.com/repos/hmcts/send-letter-service/forks","keys_url":"https://api.github.com/repos/hmcts/send-letter-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/send-letter-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/send-letter-service/teams","hooks_url":"https://api.github.com/repos/hmcts/send-letter-service/hooks","issue_events_url":"https://api.github.com/repos/hmcts/send-letter-service/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/send-letter-service/events","assignees_url":"https://api.github.com/repos/hmcts/send-letter-service/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/send-letter-service/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/send-letter-service/tags","blobs_url":"https://api.github.com/repos/hmcts/send-letter-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/send-letter-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/send-letter-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/send-letter-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/send-letter-service/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/send-letter-service/languages","stargazers_url":"https://api.github.com/repos/hmcts/send-letter-service/stargazers","contributors_url":"https://api.github.com/repos/hmcts/send-letter-service/contributors","subscribers_url":"https://api.github.com/repos/hmcts/send-letter-service/subscribers","subscription_url":"https://api.github.com/repos/hmcts/send-letter-service/subscription","commits_url":"https://api.github.com/repos/hmcts/send-letter-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/send-letter-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/send-letter-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/send-letter-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/send-letter-service/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/send-letter-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/send-letter-service/merges","archive_url":"https://api.github.com/repos/hmcts/send-letter-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/send-letter-service/downloads","issues_url":"https://api.github.com/repos/hmcts/send-letter-service/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/send-letter-service/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/send-letter-service/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/send-letter-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/send-letter-service/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/send-letter-service/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/send-letter-service/deployments","created_at":"2018-03-20T15:49:31Z","updated_at":"2018-03-22T17:47:20Z","pushed_at":"2018-03-23T15:29:03Z","git_url":"git://github.com/hmcts/send-letter-service.git","ssh_url":"git@github.com:hmcts/send-letter-service.git","clone_url":"https://github.com/hmcts/send-letter-service.git","svn_url":"https://github.com/hmcts/send-letter-service","homepage":null,"size":893,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"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":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmcts/send-letter-service/pulls/22"},"html":{"href":"https://github.com/hmcts/send-letter-service/pull/22"},"issue":{"href":"https://api.github.com/repos/hmcts/send-letter-service/issues/22"},"comments":{"href":"https://api.github.com/repos/hmcts/send-letter-service/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/hmcts/send-letter-service/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/hmcts/send-letter-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmcts/send-letter-service/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/hmcts/send-letter-service/statuses/7d8bfb3006e400ef0eb838862ebf20110487db72"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"banderous","id":2512935,"avatar_url":"https://avatars1.githubusercontent.com/u/2512935?v=4","gravatar_id":"","url":"https://api.github.com/users/banderous","html_url":"https://github.com/banderous","followers_url":"https://api.github.com/users/banderous/followers","following_url":"https://api.github.com/users/banderous/following{/other_user}","gists_url":"https://api.github.com/users/banderous/gists{/gist_id}","starred_url":"https://api.github.com/users/banderous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banderous/subscriptions","organizations_url":"https://api.github.com/users/banderous/orgs","repos_url":"https://api.github.com/users/banderous/repos","events_url":"https://api.github.com/users/banderous/events{/privacy}","received_events_url":"https://api.github.com/users/banderous/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":4,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"banderous"}}