{"action":"created","comment":{"url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/pulls/comments/236618611","pull_request_review_id":178726808,"id":236618611,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNjYxODYxMQ==","diff_hunk":"@@ -5,7 +5,55 @@ import {CaseViewerModule} from '../../case-viewer.module';\n import {Selector} from '../../../../../../test/selector-helper';\n import {RouterTestingModule} from '@angular/router/testing';\n import {ConfigService} from '../../../../config.service';\n-import { mockQuestion } from './mock/mock-questions.mock';\n+import {mockQuestion, mockQuestionEmpty, mockQuestions2, mockQuestionsPanelData} from './mock/mock-questions.mock';\n+import {api_base_url} from '../../../../enviorment.mock';\n+import {Component, CUSTOM_ELEMENTS_SCHEMA, DebugElement, ViewChild} from '@angular/core';\n+import {ActivatedRoute, Router} from '@angular/router';\n+import {PageDateQuestion} from '../../../models/section_fields';\n+import {mockActiveRouteQuestionsPanel} from './mock/activeRoute.mock';\n+@Component({\n+    selector: `app-host-dummy-component`,\n+    template: `<app-questions-panel [panelData]=\"data\"></app-questions-panel>`\n+})\n+class TestQuestionsPanelDummyHostComponent {\n+    private data: PageDateQuestion = mockQuestion;\n+    @ViewChild(QuestionsPanelComponent)\n+    public QuestionsPanelComponent: QuestionsPanelComponent;\n+}\n+describe('Testing @input', () => {\n+    let testHostComponent: TestQuestionsPanelDummyHostComponent;\n+    let testHostFixture: ComponentFixture<TestQuestionsPanelDummyHostComponent>;\n+    let el: DebugElement;","path":"src/app/domain/case-viewer/components/questions-panel/questions-panel.component.spec.ts","position":null,"original_position":23,"commit_id":"36daea4cd86af8553850910a2dfc195f36c34a22","original_commit_id":"a5ae897c9165313f2f5fbcd1c1e5fa5d75b79c59","user":{"login":"frontr-uk","id":31708534,"node_id":"MDQ6VXNlcjMxNzA4NTM0","avatar_url":"https://avatars1.githubusercontent.com/u/31708534?v=4","gravatar_id":"","url":"https://api.github.com/users/frontr-uk","html_url":"https://github.com/frontr-uk","followers_url":"https://api.github.com/users/frontr-uk/followers","following_url":"https://api.github.com/users/frontr-uk/following{/other_user}","gists_url":"https://api.github.com/users/frontr-uk/gists{/gist_id}","starred_url":"https://api.github.com/users/frontr-uk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frontr-uk/subscriptions","organizations_url":"https://api.github.com/users/frontr-uk/orgs","repos_url":"https://api.github.com/users/frontr-uk/repos","events_url":"https://api.github.com/users/frontr-uk/events{/privacy}","received_events_url":"https://api.github.com/users/frontr-uk/received_events","type":"User","site_admin":false},"body":"agreed and amended.","created_at":"2018-11-27T11:15:40Z","updated_at":"2018-11-27T11:15:40Z","html_url":"https://github.com/hmcts/rpa-jui-webapp/pull/334#discussion_r236618611","pull_request_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/pulls/334","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hmcts/rpa-jui-webapp/pulls/comments/236618611"},"html":{"href":"https://github.com/hmcts/rpa-jui-webapp/pull/334#discussion_r236618611"},"pull_request":{"href":"https://api.github.com/repos/hmcts/rpa-jui-webapp/pulls/334"}},"in_reply_to_id":236611533},"pull_request":{"url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/pulls/334","id":233623337,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNjIzMzM3","html_url":"https://github.com/hmcts/rpa-jui-webapp/pull/334","diff_url":"https://github.com/hmcts/rpa-jui-webapp/pull/334.diff","patch_url":"https://github.com/hmcts/rpa-jui-webapp/pull/334.patch","issue_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/issues/334","number":334,"state":"open","locked":false,"title":"Spec: introducing test for QuestionsPanelComponent","user":{"login":"frontr-uk","id":31708534,"node_id":"MDQ6VXNlcjMxNzA4NTM0","avatar_url":"https://avatars1.githubusercontent.com/u/31708534?v=4","gravatar_id":"","url":"https://api.github.com/users/frontr-uk","html_url":"https://github.com/frontr-uk","followers_url":"https://api.github.com/users/frontr-uk/followers","following_url":"https://api.github.com/users/frontr-uk/following{/other_user}","gists_url":"https://api.github.com/users/frontr-uk/gists{/gist_id}","starred_url":"https://api.github.com/users/frontr-uk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frontr-uk/subscriptions","organizations_url":"https://api.github.com/users/frontr-uk/orgs","repos_url":"https://api.github.com/users/frontr-uk/repos","events_url":"https://api.github.com/users/frontr-uk/events{/privacy}","received_events_url":"https://api.github.com/users/frontr-uk/received_events","type":"User","site_admin":false},"body":"**Before creating a pull request make sure that:**\r\n\r\n- [ ] commit messages are meaningful and follow good commit message guidelines\r\n- [ ] README and other documentation has been updated / added (if needed)\r\n- [ ] tests have been updated / new tests has been added (if needed)\r\n\r\nPlease remove this line and everything above and fill the following sections:\r\n\r\n\r\n### JIRA link (if applicable) ###\r\n\r\n\r\n\r\n### Change description ###\r\n\r\n\r\n\r\n**Does this PR introduce a breaking change?** (check one with \"x\")\r\n\r\n```\r\n[ ] Yes\r\n[ ] No\r\n```\r\n","created_at":"2018-11-26T16:40:46Z","updated_at":"2018-11-27T11:15:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9115d62ca6883e11dfd3ca9544589b481a9003bf","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1140760264,"node_id":"MDU6TGFiZWwxMTQwNzYwMjY0","url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/labels/ns:jui-webapp-pr-334","name":"ns:jui-webapp-pr-334","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/pulls/334/commits","review_comments_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/pulls/334/comments","review_comment_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/issues/334/comments","statuses_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/statuses/36daea4cd86af8553850910a2dfc195f36c34a22","head":{"label":"hmcts:fix/question-panel","ref":"fix/question-panel","sha":"36daea4cd86af8553850910a2dfc195f36c34a22","user":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","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":124384073,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQzODQwNzM=","name":"rpa-jui-webapp","full_name":"hmcts/rpa-jui-webapp","private":false,"owner":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","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},"html_url":"https://github.com/hmcts/rpa-jui-webapp","description":"Judicial frontend application for Reform","fork":false,"url":"https://api.github.com/repos/hmcts/rpa-jui-webapp","forks_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/forks","keys_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/teams","hooks_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/hooks","issue_events_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/events","assignees_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/tags","blobs_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/languages","stargazers_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/stargazers","contributors_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/contributors","subscribers_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/subscribers","subscription_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/subscription","commits_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/merges","archive_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/downloads","issues_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/deployments","created_at":"2018-03-08T11:50:29Z","updated_at":"2018-11-27T10:56:33Z","pushed_at":"2018-11-27T11:13:53Z","git_url":"git://github.com/hmcts/rpa-jui-webapp.git","ssh_url":"git@github.com:hmcts/rpa-jui-webapp.git","clone_url":"https://github.com/hmcts/rpa-jui-webapp.git","svn_url":"https://github.com/hmcts/rpa-jui-webapp","homepage":"","size":6594,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","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":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":6,"watchers":5,"default_branch":"master"}},"base":{"label":"hmcts:master","ref":"master","sha":"7ec0e07b0cac6e0252531935be6e8e7055083993","user":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","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":124384073,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQzODQwNzM=","name":"rpa-jui-webapp","full_name":"hmcts/rpa-jui-webapp","private":false,"owner":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","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},"html_url":"https://github.com/hmcts/rpa-jui-webapp","description":"Judicial frontend application for Reform","fork":false,"url":"https://api.github.com/repos/hmcts/rpa-jui-webapp","forks_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/forks","keys_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/teams","hooks_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/hooks","issue_events_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/events","assignees_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/tags","blobs_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/languages","stargazers_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/stargazers","contributors_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/contributors","subscribers_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/subscribers","subscription_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/subscription","commits_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/merges","archive_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/downloads","issues_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/rpa-jui-webapp/deployments","created_at":"2018-03-08T11:50:29Z","updated_at":"2018-11-27T10:56:33Z","pushed_at":"2018-11-27T11:13:53Z","git_url":"git://github.com/hmcts/rpa-jui-webapp.git","ssh_url":"git@github.com:hmcts/rpa-jui-webapp.git","clone_url":"https://github.com/hmcts/rpa-jui-webapp.git","svn_url":"https://github.com/hmcts/rpa-jui-webapp","homepage":"","size":6594,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","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":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":6,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmcts/rpa-jui-webapp/pulls/334"},"html":{"href":"https://github.com/hmcts/rpa-jui-webapp/pull/334"},"issue":{"href":"https://api.github.com/repos/hmcts/rpa-jui-webapp/issues/334"},"comments":{"href":"https://api.github.com/repos/hmcts/rpa-jui-webapp/issues/334/comments"},"review_comments":{"href":"https://api.github.com/repos/hmcts/rpa-jui-webapp/pulls/334/comments"},"review_comment":{"href":"https://api.github.com/repos/hmcts/rpa-jui-webapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmcts/rpa-jui-webapp/pulls/334/commits"},"statuses":{"href":"https://api.github.com/repos/hmcts/rpa-jui-webapp/statuses/36daea4cd86af8553850910a2dfc195f36c34a22"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"frontr-uk"}}