{"action":"created","comment":{"url":"https://api.github.com/repos/kenware/Book-A-Meal/pulls/comments/214623891","pull_request_review_id":151718505,"id":214623891,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDYyMzg5MQ==","diff_hunk":"@@ -10,127 +10,107 @@ describe('Test menu component of dashboard', () => {\n     tree = shallow(<Menu {...emptyProps} />);\n     expect(tree).toMatchSnapshot();\n   });\n-  it('should have three modal-order-content class', () => {\n-    const tree = shallow(<Menu {...props} />);\n-    expect(tree.find('.modal-order-content')).toHaveLength(3);\n-  });\n-  it('should respond to confirmOrder method', () => {\n-    const tree = shallow(<Menu {...props} />);\n-    const wrapper = tree.instance();\n-    wrapper.confirmOrder('mealId', 'menuId', 'mealName', 'image', 'price', 'mealDescription');\n-    expect(tree).toMatchSnapshot();\n-  });\n+\n   it('should clear redux store on unmount method', () => {\n     const tree = shallow(<Menu {...props} />);\n     const wrapper = tree.instance();\n     wrapper.componentWillUnmount();\n     expect(tree).toMatchSnapshot();\n   });\n+\n   it('should respond to canceOrder method', () => {\n     const tree = shallow(<Menu {...props} />);\n     expect(tree).toMatchSnapshot();\n     const wrapper = tree.instance();\n     wrapper.cancelOrder();\n     expect(tree).toMatchSnapshot();\n   });\n+\n   it('should respond lifeCyle method component did mount', () => {\n     const tree = shallow(<Menu {...props} />);\n     expect(tree).toMatchSnapshot();\n     const wrapper = tree.instance();\n     wrapper.componentDidMount();\n     expect(tree).toMatchSnapshot();\n   });\n+\n   it('should respond to onChange method', () => {\n     const tree = shallow(<Menu {...props} />);\n     expect(tree).toMatchSnapshot();\n     const wrapper = tree.instance();\n     wrapper.onChange({ target: { name: 'ken' } });\n     expect(tree).toMatchSnapshot();\n   });\n-  it('should respond to orderMeal method', () => {\n-    const tree = shallow(<Menu {...props} />);\n-    expect(tree).toMatchSnapshot();\n-    const wrapper = tree.instance();\n-    wrapper.orderMeal();\n-    expect(tree).toMatchSnapshot();\n-  });\n-  it('should have two modal with className modal-order ', () => {\n-    const tree = shallow(<Menu {...props} />);\n-    expect(tree.find('.modal-order')).toHaveLength(1);\n-  });\n+\n   it('should have 13 span className ', () => {\n     const tree = shallow(<Menu {...props} />);\n-    expect(tree.find('span')).toHaveLength(13);\n-  });\n-  it('should have justify-overide class', () => {\n-    const tree = shallow(<Menu {...props} />);\n-    expect(tree.find('.justify-overide')).toHaveLength(4);\n-  });\n-  it('should have 12  dive', () => {\n-    const tree = shallow(<Menu {...props} />);\n-    expect(tree.find('div')).toHaveLength(13);\n+    expect(tree.find('span')).toHaveLength(1);\n   });\n \n-  it('testing initial state of the components', () => {\n-    const tree = shallow(<Menu {...props} />);\n-    expect(tree.state('modal', 'address', 'quantity', 'name', 'price', 'menuId', 'mealId'))\n-      .toEqual('modal', '', '', '', '', '');\n-  });\n \n-  it('should respond to a click event of order button and dislay a modal and show Address is required on empty address field on submit', () => {\n+  it('should have 10  dive', () => {\n     const tree = shallow(<Menu {...props} />);\n-    const wrapper = tree.instance();\n-    wrapper.confirmOrder('mealId', 'menuId', 'mealName', 'image', 'price', 'mealDescription');\n-    expect(tree.state('modal')).toEqual('');\n-    tree.find('.order-meal').simulate('click');\n-    expect(tree).toMatchSnapshot();\n-    expect(tree.state('addressError')).toEqual('Your address is required');\n+    expect(tree.find('div')).toHaveLength(2);\n   });\n \n-  it('should respond to a click event order button and dislay a modal and show Quantity is required on empty Quantity field on submit', () => {\n-    const tree = shallow(<Menu {...props} />);\n-    const wrapper = tree.instance();\n-    wrapper.confirmOrder('mealId', 'menuId', 'mealName', 'image', 'price', 'mealDescription');\n-    expect(tree.state('modal')).toEqual('');\n-    tree.find('#address').simulate('change', { target: { name: 'address', value: 'my address' } });\n-    tree.find('.order-meal').simulate('click');\n-    expect(tree).toMatchSnapshot();\n-    expect(tree.state('addressError')).toEqual('');\n-    expect(tree.state('quantityError')).toEqual('Quantity is required');\n-  });\n+  // it('should respond to a click event of order button and dislay a modal and show Address is required on empty address field on submit', () => {\n+  //   const tree = shallow(<Menu {...props} />);\n+  //   const wrapper = tree.instance();\n+  //   wrapper.confirmOrder('mealId', 'menuId', 'mealName', 'image', 'price', 'mealDescription');\n+  //   expect(tree.state('modal')).toEqual('');\n+  //   tree.find('.order-meal').simulate('click');\n+  //   expect(tree).toMatchSnapshot();\n+  //   expect(tree.state('addressError')).toEqual('Your address is required');\n+  // });\n+\n+  // it('should respond to a click event order button and dislay a modal and show Quantity is required on empty Quantity field on submit', () => {","path":"client/test/dashboard/__tests__/menu/menu-test.js","position":110,"original_position":110,"commit_id":"fc667e1d9ba0e37c76f61d1efb2d5524082df0af","original_commit_id":"fc667e1d9ba0e37c76f61d1efb2d5524082df0af","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line 66 exceeds the maximum line length of 100  max-len","created_at":"2018-09-03T09:17:41Z","updated_at":"2018-09-03T09:17:42Z","html_url":"https://github.com/kenware/Book-A-Meal/pull/18#discussion_r214623891","pull_request_url":"https://api.github.com/repos/kenware/Book-A-Meal/pulls/18","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/kenware/Book-A-Meal/pulls/comments/214623891"},"html":{"href":"https://github.com/kenware/Book-A-Meal/pull/18#discussion_r214623891"},"pull_request":{"href":"https://api.github.com/repos/kenware/Book-A-Meal/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/kenware/Book-A-Meal/pulls/18","id":212686721,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNjg2NzIx","html_url":"https://github.com/kenware/Book-A-Meal/pull/18","diff_url":"https://github.com/kenware/Book-A-Meal/pull/18.diff","patch_url":"https://github.com/kenware/Book-A-Meal/pull/18.patch","issue_url":"https://api.github.com/repos/kenware/Book-A-Meal/issues/18","number":18,"state":"open","locked":false,"title":"#158580405 Feedback Implementation","user":{"login":"kenware","id":28547970,"node_id":"MDQ6VXNlcjI4NTQ3OTcw","avatar_url":"https://avatars0.githubusercontent.com/u/28547970?v=4","gravatar_id":"","url":"https://api.github.com/users/kenware","html_url":"https://github.com/kenware","followers_url":"https://api.github.com/users/kenware/followers","following_url":"https://api.github.com/users/kenware/following{/other_user}","gists_url":"https://api.github.com/users/kenware/gists{/gist_id}","starred_url":"https://api.github.com/users/kenware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenware/subscriptions","organizations_url":"https://api.github.com/users/kenware/orgs","repos_url":"https://api.github.com/users/kenware/repos","events_url":"https://api.github.com/users/kenware/events{/privacy}","received_events_url":"https://api.github.com/users/kenware/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nImplement feedback from LF\r\n#### Description of Task to be completed?\r\n - Modified my order controller\r\n- Made changes to my web pack configuration\r\n- Modified my test to accommodate changes\r\n#### How should this be manually tested?\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n#158580405\r\n#### Any background context you want to add?\r\n\r\n#### Screenshots\r\n","created_at":"2018-09-03T09:15:32Z","updated_at":"2018-09-03T09:17:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kenware/Book-A-Meal/pulls/18/commits","review_comments_url":"https://api.github.com/repos/kenware/Book-A-Meal/pulls/18/comments","review_comment_url":"https://api.github.com/repos/kenware/Book-A-Meal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kenware/Book-A-Meal/issues/18/comments","statuses_url":"https://api.github.com/repos/kenware/Book-A-Meal/statuses/fc667e1d9ba0e37c76f61d1efb2d5524082df0af","head":{"label":"kenware:bg-feedback-implementation-158580405","ref":"bg-feedback-implementation-158580405","sha":"fc667e1d9ba0e37c76f61d1efb2d5524082df0af","user":{"login":"kenware","id":28547970,"node_id":"MDQ6VXNlcjI4NTQ3OTcw","avatar_url":"https://avatars0.githubusercontent.com/u/28547970?v=4","gravatar_id":"","url":"https://api.github.com/users/kenware","html_url":"https://github.com/kenware","followers_url":"https://api.github.com/users/kenware/followers","following_url":"https://api.github.com/users/kenware/following{/other_user}","gists_url":"https://api.github.com/users/kenware/gists{/gist_id}","starred_url":"https://api.github.com/users/kenware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenware/subscriptions","organizations_url":"https://api.github.com/users/kenware/orgs","repos_url":"https://api.github.com/users/kenware/repos","events_url":"https://api.github.com/users/kenware/events{/privacy}","received_events_url":"https://api.github.com/users/kenware/received_events","type":"User","site_admin":false},"repo":{"id":130053171,"node_id":"MDEwOlJlcG9zaXRvcnkxMzAwNTMxNzE=","name":"Book-A-Meal","full_name":"kenware/Book-A-Meal","owner":{"login":"kenware","id":28547970,"node_id":"MDQ6VXNlcjI4NTQ3OTcw","avatar_url":"https://avatars0.githubusercontent.com/u/28547970?v=4","gravatar_id":"","url":"https://api.github.com/users/kenware","html_url":"https://github.com/kenware","followers_url":"https://api.github.com/users/kenware/followers","following_url":"https://api.github.com/users/kenware/following{/other_user}","gists_url":"https://api.github.com/users/kenware/gists{/gist_id}","starred_url":"https://api.github.com/users/kenware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenware/subscriptions","organizations_url":"https://api.github.com/users/kenware/orgs","repos_url":"https://api.github.com/users/kenware/repos","events_url":"https://api.github.com/users/kenware/events{/privacy}","received_events_url":"https://api.github.com/users/kenware/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kenware/Book-A-Meal","description":null,"fork":false,"url":"https://api.github.com/repos/kenware/Book-A-Meal","forks_url":"https://api.github.com/repos/kenware/Book-A-Meal/forks","keys_url":"https://api.github.com/repos/kenware/Book-A-Meal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kenware/Book-A-Meal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kenware/Book-A-Meal/teams","hooks_url":"https://api.github.com/repos/kenware/Book-A-Meal/hooks","issue_events_url":"https://api.github.com/repos/kenware/Book-A-Meal/issues/events{/number}","events_url":"https://api.github.com/repos/kenware/Book-A-Meal/events","assignees_url":"https://api.github.com/repos/kenware/Book-A-Meal/assignees{/user}","branches_url":"https://api.github.com/repos/kenware/Book-A-Meal/branches{/branch}","tags_url":"https://api.github.com/repos/kenware/Book-A-Meal/tags","blobs_url":"https://api.github.com/repos/kenware/Book-A-Meal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kenware/Book-A-Meal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kenware/Book-A-Meal/git/refs{/sha}","trees_url":"https://api.github.com/repos/kenware/Book-A-Meal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kenware/Book-A-Meal/statuses/{sha}","languages_url":"https://api.github.com/repos/kenware/Book-A-Meal/languages","stargazers_url":"https://api.github.com/repos/kenware/Book-A-Meal/stargazers","contributors_url":"https://api.github.com/repos/kenware/Book-A-Meal/contributors","subscribers_url":"https://api.github.com/repos/kenware/Book-A-Meal/subscribers","subscription_url":"https://api.github.com/repos/kenware/Book-A-Meal/subscription","commits_url":"https://api.github.com/repos/kenware/Book-A-Meal/commits{/sha}","git_commits_url":"https://api.github.com/repos/kenware/Book-A-Meal/git/commits{/sha}","comments_url":"https://api.github.com/repos/kenware/Book-A-Meal/comments{/number}","issue_comment_url":"https://api.github.com/repos/kenware/Book-A-Meal/issues/comments{/number}","contents_url":"https://api.github.com/repos/kenware/Book-A-Meal/contents/{+path}","compare_url":"https://api.github.com/repos/kenware/Book-A-Meal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kenware/Book-A-Meal/merges","archive_url":"https://api.github.com/repos/kenware/Book-A-Meal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kenware/Book-A-Meal/downloads","issues_url":"https://api.github.com/repos/kenware/Book-A-Meal/issues{/number}","pulls_url":"https://api.github.com/repos/kenware/Book-A-Meal/pulls{/number}","milestones_url":"https://api.github.com/repos/kenware/Book-A-Meal/milestones{/number}","notifications_url":"https://api.github.com/repos/kenware/Book-A-Meal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kenware/Book-A-Meal/labels{/name}","releases_url":"https://api.github.com/repos/kenware/Book-A-Meal/releases{/id}","deployments_url":"https://api.github.com/repos/kenware/Book-A-Meal/deployments","created_at":"2018-04-18T11:39:03Z","updated_at":"2018-08-06T16:11:08Z","pushed_at":"2018-09-03T09:15:32Z","git_url":"git://github.com/kenware/Book-A-Meal.git","ssh_url":"git@github.com:kenware/Book-A-Meal.git","clone_url":"https://github.com/kenware/Book-A-Meal.git","svn_url":"https://github.com/kenware/Book-A-Meal","homepage":null,"size":5826,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"kenware:develop","ref":"develop","sha":"16bfbbc709473fd22cb4dfdc8caebcf03077acf5","user":{"login":"kenware","id":28547970,"node_id":"MDQ6VXNlcjI4NTQ3OTcw","avatar_url":"https://avatars0.githubusercontent.com/u/28547970?v=4","gravatar_id":"","url":"https://api.github.com/users/kenware","html_url":"https://github.com/kenware","followers_url":"https://api.github.com/users/kenware/followers","following_url":"https://api.github.com/users/kenware/following{/other_user}","gists_url":"https://api.github.com/users/kenware/gists{/gist_id}","starred_url":"https://api.github.com/users/kenware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenware/subscriptions","organizations_url":"https://api.github.com/users/kenware/orgs","repos_url":"https://api.github.com/users/kenware/repos","events_url":"https://api.github.com/users/kenware/events{/privacy}","received_events_url":"https://api.github.com/users/kenware/received_events","type":"User","site_admin":false},"repo":{"id":130053171,"node_id":"MDEwOlJlcG9zaXRvcnkxMzAwNTMxNzE=","name":"Book-A-Meal","full_name":"kenware/Book-A-Meal","owner":{"login":"kenware","id":28547970,"node_id":"MDQ6VXNlcjI4NTQ3OTcw","avatar_url":"https://avatars0.githubusercontent.com/u/28547970?v=4","gravatar_id":"","url":"https://api.github.com/users/kenware","html_url":"https://github.com/kenware","followers_url":"https://api.github.com/users/kenware/followers","following_url":"https://api.github.com/users/kenware/following{/other_user}","gists_url":"https://api.github.com/users/kenware/gists{/gist_id}","starred_url":"https://api.github.com/users/kenware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenware/subscriptions","organizations_url":"https://api.github.com/users/kenware/orgs","repos_url":"https://api.github.com/users/kenware/repos","events_url":"https://api.github.com/users/kenware/events{/privacy}","received_events_url":"https://api.github.com/users/kenware/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kenware/Book-A-Meal","description":null,"fork":false,"url":"https://api.github.com/repos/kenware/Book-A-Meal","forks_url":"https://api.github.com/repos/kenware/Book-A-Meal/forks","keys_url":"https://api.github.com/repos/kenware/Book-A-Meal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kenware/Book-A-Meal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kenware/Book-A-Meal/teams","hooks_url":"https://api.github.com/repos/kenware/Book-A-Meal/hooks","issue_events_url":"https://api.github.com/repos/kenware/Book-A-Meal/issues/events{/number}","events_url":"https://api.github.com/repos/kenware/Book-A-Meal/events","assignees_url":"https://api.github.com/repos/kenware/Book-A-Meal/assignees{/user}","branches_url":"https://api.github.com/repos/kenware/Book-A-Meal/branches{/branch}","tags_url":"https://api.github.com/repos/kenware/Book-A-Meal/tags","blobs_url":"https://api.github.com/repos/kenware/Book-A-Meal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kenware/Book-A-Meal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kenware/Book-A-Meal/git/refs{/sha}","trees_url":"https://api.github.com/repos/kenware/Book-A-Meal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kenware/Book-A-Meal/statuses/{sha}","languages_url":"https://api.github.com/repos/kenware/Book-A-Meal/languages","stargazers_url":"https://api.github.com/repos/kenware/Book-A-Meal/stargazers","contributors_url":"https://api.github.com/repos/kenware/Book-A-Meal/contributors","subscribers_url":"https://api.github.com/repos/kenware/Book-A-Meal/subscribers","subscription_url":"https://api.github.com/repos/kenware/Book-A-Meal/subscription","commits_url":"https://api.github.com/repos/kenware/Book-A-Meal/commits{/sha}","git_commits_url":"https://api.github.com/repos/kenware/Book-A-Meal/git/commits{/sha}","comments_url":"https://api.github.com/repos/kenware/Book-A-Meal/comments{/number}","issue_comment_url":"https://api.github.com/repos/kenware/Book-A-Meal/issues/comments{/number}","contents_url":"https://api.github.com/repos/kenware/Book-A-Meal/contents/{+path}","compare_url":"https://api.github.com/repos/kenware/Book-A-Meal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kenware/Book-A-Meal/merges","archive_url":"https://api.github.com/repos/kenware/Book-A-Meal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kenware/Book-A-Meal/downloads","issues_url":"https://api.github.com/repos/kenware/Book-A-Meal/issues{/number}","pulls_url":"https://api.github.com/repos/kenware/Book-A-Meal/pulls{/number}","milestones_url":"https://api.github.com/repos/kenware/Book-A-Meal/milestones{/number}","notifications_url":"https://api.github.com/repos/kenware/Book-A-Meal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kenware/Book-A-Meal/labels{/name}","releases_url":"https://api.github.com/repos/kenware/Book-A-Meal/releases{/id}","deployments_url":"https://api.github.com/repos/kenware/Book-A-Meal/deployments","created_at":"2018-04-18T11:39:03Z","updated_at":"2018-08-06T16:11:08Z","pushed_at":"2018-09-03T09:15:32Z","git_url":"git://github.com/kenware/Book-A-Meal.git","ssh_url":"git@github.com:kenware/Book-A-Meal.git","clone_url":"https://github.com/kenware/Book-A-Meal.git","svn_url":"https://github.com/kenware/Book-A-Meal","homepage":null,"size":5826,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/kenware/Book-A-Meal/pulls/18"},"html":{"href":"https://github.com/kenware/Book-A-Meal/pull/18"},"issue":{"href":"https://api.github.com/repos/kenware/Book-A-Meal/issues/18"},"comments":{"href":"https://api.github.com/repos/kenware/Book-A-Meal/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/kenware/Book-A-Meal/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/kenware/Book-A-Meal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kenware/Book-A-Meal/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/kenware/Book-A-Meal/statuses/fc667e1d9ba0e37c76f61d1efb2d5524082df0af"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}