{"action":"created","comment":{"url":"https://api.github.com/repos/hmrc/help-to-save-proxy/pulls/comments/167173401","pull_request_review_id":95354252,"id":167173401,"diff_hunk":"@@ -0,0 +1,104 @@\n+/*\n+ * Copyright 2018 HM Revenue & Customs\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package uk.gov.hmrc.helptosaveproxy.connectors\n+\n+import org.scalamock.scalatest.MockFactory\n+import org.scalatest.EitherValues\n+import play.api.Configuration\n+import play.api.libs.json.Json\n+import uk.gov.hmrc.helptosaveproxy.TestSupport\n+import uk.gov.hmrc.helptosaveproxy.config.WSHttpProxy\n+import uk.gov.hmrc.http.{HeaderCarrier, HttpResponse}\n+import uk.gov.hmrc.http.logging.Authorization\n+import uk.gov.hmrc.helptosaveproxy.config.AppConfig.dwpUCClaimantCheckUrl\n+import uk.gov.hmrc.helptosaveproxy.testutil.UCClaimantTestSupport\n+\n+import scala.concurrent.duration._\n+import scala.concurrent.{Await, ExecutionContext, Future}\n+\n+class DWPConnectorSpec extends TestSupport with MockFactory with EitherValues with UCClaimantTestSupport {\n+\n+  lazy val mockHTTPProxy = mock[WSHttpProxy]\n+\n+  def testDWPConnectorImpl = new DWPConnectorImpl(\n+    fakeApplication.configuration ++ Configuration()) {","path":"test/uk/gov/hmrc/helptosaveproxy/connectors/DWPConnectorSpec.scala","position":40,"original_position":38,"commit_id":"fc364a9764b8642130288ec424ac6e79691102ba","original_commit_id":"5efd7e373fbd4327dae3f53fe1af827f22ba66a1","user":{"login":"Jackie1988","id":19712939,"avatar_url":"https://avatars1.githubusercontent.com/u/19712939?v=4","gravatar_id":"","url":"https://api.github.com/users/Jackie1988","html_url":"https://github.com/Jackie1988","followers_url":"https://api.github.com/users/Jackie1988/followers","following_url":"https://api.github.com/users/Jackie1988/following{/other_user}","gists_url":"https://api.github.com/users/Jackie1988/gists{/gist_id}","starred_url":"https://api.github.com/users/Jackie1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jackie1988/subscriptions","organizations_url":"https://api.github.com/users/Jackie1988/orgs","repos_url":"https://api.github.com/users/Jackie1988/repos","events_url":"https://api.github.com/users/Jackie1988/events{/privacy}","received_events_url":"https://api.github.com/users/Jackie1988/received_events","type":"User","site_admin":false},"body":"ok thanks, I've managed to do that now :)","created_at":"2018-02-09T09:12:21Z","updated_at":"2018-02-09T09:12:21Z","html_url":"https://github.com/hmrc/help-to-save-proxy/pull/6#discussion_r167173401","pull_request_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/pulls/6","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hmrc/help-to-save-proxy/pulls/comments/167173401"},"html":{"href":"https://github.com/hmrc/help-to-save-proxy/pull/6#discussion_r167173401"},"pull_request":{"href":"https://api.github.com/repos/hmrc/help-to-save-proxy/pulls/6"}},"in_reply_to_id":166987295},"pull_request":{"url":"https://api.github.com/repos/hmrc/help-to-save-proxy/pulls/6","id":168008647,"html_url":"https://github.com/hmrc/help-to-save-proxy/pull/6","diff_url":"https://github.com/hmrc/help-to-save-proxy/pull/6.diff","patch_url":"https://github.com/hmrc/help-to-save-proxy/pull/6.patch","issue_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/issues/6","number":6,"state":"open","locked":false,"title":"Hts 763","user":{"login":"Jackie1988","id":19712939,"avatar_url":"https://avatars1.githubusercontent.com/u/19712939?v=4","gravatar_id":"","url":"https://api.github.com/users/Jackie1988","html_url":"https://github.com/Jackie1988","followers_url":"https://api.github.com/users/Jackie1988/followers","following_url":"https://api.github.com/users/Jackie1988/following{/other_user}","gists_url":"https://api.github.com/users/Jackie1988/gists{/gist_id}","starred_url":"https://api.github.com/users/Jackie1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jackie1988/subscriptions","organizations_url":"https://api.github.com/users/Jackie1988/orgs","repos_url":"https://api.github.com/users/Jackie1988/repos","events_url":"https://api.github.com/users/Jackie1988/events{/privacy}","received_events_url":"https://api.github.com/users/Jackie1988/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-08T15:45:41Z","updated_at":"2018-02-09T09:12:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66fcf9100b6a416bf227681da037331509d4ea2b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/pulls/6/commits","review_comments_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/pulls/6/comments","review_comment_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/issues/6/comments","statuses_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/statuses/fc364a9764b8642130288ec424ac6e79691102ba","head":{"label":"hmrc:HTS-763","ref":"HTS-763","sha":"fc364a9764b8642130288ec424ac6e79691102ba","user":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars1.githubusercontent.com/u/5755339?v=4","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"repo":{"id":118788008,"name":"help-to-save-proxy","full_name":"hmrc/help-to-save-proxy","owner":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars1.githubusercontent.com/u/5755339?v=4","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmrc/help-to-save-proxy","description":null,"fork":false,"url":"https://api.github.com/repos/hmrc/help-to-save-proxy","forks_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/forks","keys_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/teams","hooks_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/hooks","issue_events_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/events","assignees_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/tags","blobs_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/languages","stargazers_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/stargazers","contributors_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/contributors","subscribers_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/subscribers","subscription_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/subscription","commits_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/merges","archive_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/downloads","issues_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/deployments","created_at":"2018-01-24T16:02:29Z","updated_at":"2018-01-29T15:01:35Z","pushed_at":"2018-02-08T17:14:37Z","git_url":"git://github.com/hmrc/help-to-save-proxy.git","ssh_url":"git@github.com:hmrc/help-to-save-proxy.git","clone_url":"https://github.com/hmrc/help-to-save-proxy.git","svn_url":"https://github.com/hmrc/help-to-save-proxy","homepage":"","size":65,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"hmrc:master","ref":"master","sha":"cc5b18bf027bf36ceebb14f15dde087162828569","user":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars1.githubusercontent.com/u/5755339?v=4","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"repo":{"id":118788008,"name":"help-to-save-proxy","full_name":"hmrc/help-to-save-proxy","owner":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars1.githubusercontent.com/u/5755339?v=4","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmrc/help-to-save-proxy","description":null,"fork":false,"url":"https://api.github.com/repos/hmrc/help-to-save-proxy","forks_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/forks","keys_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/teams","hooks_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/hooks","issue_events_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/events","assignees_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/tags","blobs_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/languages","stargazers_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/stargazers","contributors_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/contributors","subscribers_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/subscribers","subscription_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/subscription","commits_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/merges","archive_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/downloads","issues_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/help-to-save-proxy/deployments","created_at":"2018-01-24T16:02:29Z","updated_at":"2018-01-29T15:01:35Z","pushed_at":"2018-02-08T17:14:37Z","git_url":"git://github.com/hmrc/help-to-save-proxy.git","ssh_url":"git@github.com:hmrc/help-to-save-proxy.git","clone_url":"https://github.com/hmrc/help-to-save-proxy.git","svn_url":"https://github.com/hmrc/help-to-save-proxy","homepage":"","size":65,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmrc/help-to-save-proxy/pulls/6"},"html":{"href":"https://github.com/hmrc/help-to-save-proxy/pull/6"},"issue":{"href":"https://api.github.com/repos/hmrc/help-to-save-proxy/issues/6"},"comments":{"href":"https://api.github.com/repos/hmrc/help-to-save-proxy/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/hmrc/help-to-save-proxy/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/hmrc/help-to-save-proxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmrc/help-to-save-proxy/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/hmrc/help-to-save-proxy/statuses/fc364a9764b8642130288ec424ac6e79691102ba"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Jackie1988"}}