{"action":"created","comment":{"url":"https://api.github.com/repos/cloud-elements/churros/pulls/comments/173079659","pull_request_review_id":102205875,"id":173079659,"diff_hunk":"@@ -0,0 +1,45 @@\n+'use strict';\n+\n+const suite = require('core/suite');\n+const tools = require('core/tools');\n+const payload = tools.requirePayload(`${__dirname}/assets/accounts.json`);\n+const payloadAddress = tools.requirePayload(`${__dirname}/assets/accounts_address.json`);\n+const payloadAddressUpdate = tools.requirePayload(`${__dirname}/assets/accounts_address.json`);\n+const chakram = require('chakram');\n+const expect = chakram.expect;\n+const cloud = require('core/cloud');\n+\n+suite.forElement('crm', 'accounts', { payload: payload }, (test) => {\n+  const options = {\n+    churros: {\n+      updatePayload: {\n+\t\t    \"ORGANISATION_NAME\" : \"ChurrosTest1\" \n+      }\n+    }\n+  };\n+  test.withOptions(options).should.supportCruds(chakram.put);\n+  test.should.supportPagination();\n+  test.withName(`should support searching ${test.api} by DATE_UPDATED_UTC`)\n+    .withOptions({ qs: { where: `updated_after_utc ='2018-02-21 07:31:45'` } })\n+    .withValidation((r) => {\n+      expect(r).to.have.statusCode(200);\n+      const validValues = r.body.filter(obj => obj.DATE_UPDATED_UTC = '2018-02-21 07:31:45');\n+      expect(validValues.length).to.equal(r.body.length);\n+    }).should.return200OnGet();\n+\n+  let accountId;\n+  before(() => cloud.post(test.api, payload)\n+    .then(r => accountId = r.body.id));\n+\n+  it('should allow CUD for accounts /addresses', () => {","path":"src/test/elements/insightly/accounts.js","position":34,"original_position":34,"commit_id":"92cfa0bd2e0df78eb14495a1eb523ca2df9bcfa8","original_commit_id":"92cfa0bd2e0df78eb14495a1eb523ca2df9bcfa8","user":{"login":"GarimaAgarwal-GSLab","id":22442264,"avatar_url":"https://avatars1.githubusercontent.com/u/22442264?v=4","gravatar_id":"","url":"https://api.github.com/users/GarimaAgarwal-GSLab","html_url":"https://github.com/GarimaAgarwal-GSLab","followers_url":"https://api.github.com/users/GarimaAgarwal-GSLab/followers","following_url":"https://api.github.com/users/GarimaAgarwal-GSLab/following{/other_user}","gists_url":"https://api.github.com/users/GarimaAgarwal-GSLab/gists{/gist_id}","starred_url":"https://api.github.com/users/GarimaAgarwal-GSLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GarimaAgarwal-GSLab/subscriptions","organizations_url":"https://api.github.com/users/GarimaAgarwal-GSLab/orgs","repos_url":"https://api.github.com/users/GarimaAgarwal-GSLab/repos","events_url":"https://api.github.com/users/GarimaAgarwal-GSLab/events{/privacy}","received_events_url":"https://api.github.com/users/GarimaAgarwal-GSLab/received_events","type":"User","site_admin":false},"body":"Changed it.","created_at":"2018-03-08T07:17:31Z","updated_at":"2018-03-08T07:17:31Z","html_url":"https://github.com/cloud-elements/churros/pull/1421#discussion_r173079659","pull_request_url":"https://api.github.com/repos/cloud-elements/churros/pulls/1421","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/cloud-elements/churros/pulls/comments/173079659"},"html":{"href":"https://github.com/cloud-elements/churros/pull/1421#discussion_r173079659"},"pull_request":{"href":"https://api.github.com/repos/cloud-elements/churros/pulls/1421"}},"in_reply_to_id":172956836},"pull_request":{"url":"https://api.github.com/repos/cloud-elements/churros/pulls/1421","id":170666857,"html_url":"https://github.com/cloud-elements/churros/pull/1421","diff_url":"https://github.com/cloud-elements/churros/pull/1421.diff","patch_url":"https://github.com/cloud-elements/churros/pull/1421.patch","issue_url":"https://api.github.com/repos/cloud-elements/churros/issues/1421","number":1421,"state":"open","locked":false,"title":"Insightly : Added test cases","user":{"login":"GarimaAgarwal-GSLab","id":22442264,"avatar_url":"https://avatars1.githubusercontent.com/u/22442264?v=4","gravatar_id":"","url":"https://api.github.com/users/GarimaAgarwal-GSLab","html_url":"https://github.com/GarimaAgarwal-GSLab","followers_url":"https://api.github.com/users/GarimaAgarwal-GSLab/followers","following_url":"https://api.github.com/users/GarimaAgarwal-GSLab/following{/other_user}","gists_url":"https://api.github.com/users/GarimaAgarwal-GSLab/gists{/gist_id}","starred_url":"https://api.github.com/users/GarimaAgarwal-GSLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GarimaAgarwal-GSLab/subscriptions","organizations_url":"https://api.github.com/users/GarimaAgarwal-GSLab/orgs","repos_url":"https://api.github.com/users/GarimaAgarwal-GSLab/repos","events_url":"https://api.github.com/users/GarimaAgarwal-GSLab/events{/privacy}","received_events_url":"https://api.github.com/users/GarimaAgarwal-GSLab/received_events","type":"User","site_admin":false},"body":"## Highlights\r\n* Added churros test cases for all supported APIs.\r\n\r\n## Non -customer Highlights\r\n* All tests pass successfully.\r\n\r\n## Test Results\r\n![complete1](https://user-images.githubusercontent.com/22442264/36523379-4cb3551e-17c7-11e8-97e8-3d5384a40660.PNG)\r\n![complete2](https://user-images.githubusercontent.com/22442264/36523380-4d2e0bb0-17c7-11e8-9f57-c27179924b17.PNG)\r\n\r\n## Reference\r\n* [SOBA](https://github.com/cloud-elements/soba/pull/8120)\r\n* [churros-sauce](https://github.com/cloud-elements/churros-sauce/pull/164)\r\n* [RALLY-US8281](https://rally1.rallydev.com/#/144349237612d/detail/userstory/197592183864)\r\n\r\n## Closes\r\n* [US8281](https://rally1.rallydev.com/#/144349237612d/detail/userstory/197592183864)\r\n","created_at":"2018-02-22T06:26:52Z","updated_at":"2018-03-08T07:17:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb9987535102caec9d09a4202938c9007ade81bf","assignee":{"login":"GarimaAgarwal-GSLab","id":22442264,"avatar_url":"https://avatars1.githubusercontent.com/u/22442264?v=4","gravatar_id":"","url":"https://api.github.com/users/GarimaAgarwal-GSLab","html_url":"https://github.com/GarimaAgarwal-GSLab","followers_url":"https://api.github.com/users/GarimaAgarwal-GSLab/followers","following_url":"https://api.github.com/users/GarimaAgarwal-GSLab/following{/other_user}","gists_url":"https://api.github.com/users/GarimaAgarwal-GSLab/gists{/gist_id}","starred_url":"https://api.github.com/users/GarimaAgarwal-GSLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GarimaAgarwal-GSLab/subscriptions","organizations_url":"https://api.github.com/users/GarimaAgarwal-GSLab/orgs","repos_url":"https://api.github.com/users/GarimaAgarwal-GSLab/repos","events_url":"https://api.github.com/users/GarimaAgarwal-GSLab/events{/privacy}","received_events_url":"https://api.github.com/users/GarimaAgarwal-GSLab/received_events","type":"User","site_admin":false},"assignees":[{"login":"GarimaAgarwal-GSLab","id":22442264,"avatar_url":"https://avatars1.githubusercontent.com/u/22442264?v=4","gravatar_id":"","url":"https://api.github.com/users/GarimaAgarwal-GSLab","html_url":"https://github.com/GarimaAgarwal-GSLab","followers_url":"https://api.github.com/users/GarimaAgarwal-GSLab/followers","following_url":"https://api.github.com/users/GarimaAgarwal-GSLab/following{/other_user}","gists_url":"https://api.github.com/users/GarimaAgarwal-GSLab/gists{/gist_id}","starred_url":"https://api.github.com/users/GarimaAgarwal-GSLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GarimaAgarwal-GSLab/subscriptions","organizations_url":"https://api.github.com/users/GarimaAgarwal-GSLab/orgs","repos_url":"https://api.github.com/users/GarimaAgarwal-GSLab/repos","events_url":"https://api.github.com/users/GarimaAgarwal-GSLab/events{/privacy}","received_events_url":"https://api.github.com/users/GarimaAgarwal-GSLab/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cloud-elements/churros/pulls/1421/commits","review_comments_url":"https://api.github.com/repos/cloud-elements/churros/pulls/1421/comments","review_comment_url":"https://api.github.com/repos/cloud-elements/churros/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloud-elements/churros/issues/1421/comments","statuses_url":"https://api.github.com/repos/cloud-elements/churros/statuses/92cfa0bd2e0df78eb14495a1eb523ca2df9bcfa8","head":{"label":"cloud-elements:US8281","ref":"US8281","sha":"92cfa0bd2e0df78eb14495a1eb523ca2df9bcfa8","user":{"login":"cloud-elements","id":4693153,"avatar_url":"https://avatars1.githubusercontent.com/u/4693153?v=4","gravatar_id":"","url":"https://api.github.com/users/cloud-elements","html_url":"https://github.com/cloud-elements","followers_url":"https://api.github.com/users/cloud-elements/followers","following_url":"https://api.github.com/users/cloud-elements/following{/other_user}","gists_url":"https://api.github.com/users/cloud-elements/gists{/gist_id}","starred_url":"https://api.github.com/users/cloud-elements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloud-elements/subscriptions","organizations_url":"https://api.github.com/users/cloud-elements/orgs","repos_url":"https://api.github.com/users/cloud-elements/repos","events_url":"https://api.github.com/users/cloud-elements/events{/privacy}","received_events_url":"https://api.github.com/users/cloud-elements/received_events","type":"Organization","site_admin":false},"repo":{"id":46356335,"name":"churros","full_name":"cloud-elements/churros","owner":{"login":"cloud-elements","id":4693153,"avatar_url":"https://avatars1.githubusercontent.com/u/4693153?v=4","gravatar_id":"","url":"https://api.github.com/users/cloud-elements","html_url":"https://github.com/cloud-elements","followers_url":"https://api.github.com/users/cloud-elements/followers","following_url":"https://api.github.com/users/cloud-elements/following{/other_user}","gists_url":"https://api.github.com/users/cloud-elements/gists{/gist_id}","starred_url":"https://api.github.com/users/cloud-elements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloud-elements/subscriptions","organizations_url":"https://api.github.com/users/cloud-elements/orgs","repos_url":"https://api.github.com/users/cloud-elements/repos","events_url":"https://api.github.com/users/cloud-elements/events{/privacy}","received_events_url":"https://api.github.com/users/cloud-elements/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloud-elements/churros","description":":cop: Cloud Elements API testing framework","fork":false,"url":"https://api.github.com/repos/cloud-elements/churros","forks_url":"https://api.github.com/repos/cloud-elements/churros/forks","keys_url":"https://api.github.com/repos/cloud-elements/churros/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloud-elements/churros/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloud-elements/churros/teams","hooks_url":"https://api.github.com/repos/cloud-elements/churros/hooks","issue_events_url":"https://api.github.com/repos/cloud-elements/churros/issues/events{/number}","events_url":"https://api.github.com/repos/cloud-elements/churros/events","assignees_url":"https://api.github.com/repos/cloud-elements/churros/assignees{/user}","branches_url":"https://api.github.com/repos/cloud-elements/churros/branches{/branch}","tags_url":"https://api.github.com/repos/cloud-elements/churros/tags","blobs_url":"https://api.github.com/repos/cloud-elements/churros/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloud-elements/churros/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloud-elements/churros/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloud-elements/churros/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloud-elements/churros/statuses/{sha}","languages_url":"https://api.github.com/repos/cloud-elements/churros/languages","stargazers_url":"https://api.github.com/repos/cloud-elements/churros/stargazers","contributors_url":"https://api.github.com/repos/cloud-elements/churros/contributors","subscribers_url":"https://api.github.com/repos/cloud-elements/churros/subscribers","subscription_url":"https://api.github.com/repos/cloud-elements/churros/subscription","commits_url":"https://api.github.com/repos/cloud-elements/churros/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloud-elements/churros/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloud-elements/churros/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloud-elements/churros/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloud-elements/churros/contents/{+path}","compare_url":"https://api.github.com/repos/cloud-elements/churros/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloud-elements/churros/merges","archive_url":"https://api.github.com/repos/cloud-elements/churros/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloud-elements/churros/downloads","issues_url":"https://api.github.com/repos/cloud-elements/churros/issues{/number}","pulls_url":"https://api.github.com/repos/cloud-elements/churros/pulls{/number}","milestones_url":"https://api.github.com/repos/cloud-elements/churros/milestones{/number}","notifications_url":"https://api.github.com/repos/cloud-elements/churros/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloud-elements/churros/labels{/name}","releases_url":"https://api.github.com/repos/cloud-elements/churros/releases{/id}","deployments_url":"https://api.github.com/repos/cloud-elements/churros/deployments","created_at":"2015-11-17T15:32:22Z","updated_at":"2017-11-10T02:19:41Z","pushed_at":"2018-03-08T05:28:52Z","git_url":"git://github.com/cloud-elements/churros.git","ssh_url":"git@github.com:cloud-elements/churros.git","clone_url":"https://github.com/cloud-elements/churros.git","svn_url":"https://github.com/cloud-elements/churros","homepage":"","size":13234,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":108,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":5,"open_issues":108,"watchers":9,"default_branch":"master"}},"base":{"label":"cloud-elements:master","ref":"master","sha":"62b086b7c27217781396aa3b754a61175800600f","user":{"login":"cloud-elements","id":4693153,"avatar_url":"https://avatars1.githubusercontent.com/u/4693153?v=4","gravatar_id":"","url":"https://api.github.com/users/cloud-elements","html_url":"https://github.com/cloud-elements","followers_url":"https://api.github.com/users/cloud-elements/followers","following_url":"https://api.github.com/users/cloud-elements/following{/other_user}","gists_url":"https://api.github.com/users/cloud-elements/gists{/gist_id}","starred_url":"https://api.github.com/users/cloud-elements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloud-elements/subscriptions","organizations_url":"https://api.github.com/users/cloud-elements/orgs","repos_url":"https://api.github.com/users/cloud-elements/repos","events_url":"https://api.github.com/users/cloud-elements/events{/privacy}","received_events_url":"https://api.github.com/users/cloud-elements/received_events","type":"Organization","site_admin":false},"repo":{"id":46356335,"name":"churros","full_name":"cloud-elements/churros","owner":{"login":"cloud-elements","id":4693153,"avatar_url":"https://avatars1.githubusercontent.com/u/4693153?v=4","gravatar_id":"","url":"https://api.github.com/users/cloud-elements","html_url":"https://github.com/cloud-elements","followers_url":"https://api.github.com/users/cloud-elements/followers","following_url":"https://api.github.com/users/cloud-elements/following{/other_user}","gists_url":"https://api.github.com/users/cloud-elements/gists{/gist_id}","starred_url":"https://api.github.com/users/cloud-elements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloud-elements/subscriptions","organizations_url":"https://api.github.com/users/cloud-elements/orgs","repos_url":"https://api.github.com/users/cloud-elements/repos","events_url":"https://api.github.com/users/cloud-elements/events{/privacy}","received_events_url":"https://api.github.com/users/cloud-elements/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloud-elements/churros","description":":cop: Cloud Elements API testing framework","fork":false,"url":"https://api.github.com/repos/cloud-elements/churros","forks_url":"https://api.github.com/repos/cloud-elements/churros/forks","keys_url":"https://api.github.com/repos/cloud-elements/churros/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloud-elements/churros/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloud-elements/churros/teams","hooks_url":"https://api.github.com/repos/cloud-elements/churros/hooks","issue_events_url":"https://api.github.com/repos/cloud-elements/churros/issues/events{/number}","events_url":"https://api.github.com/repos/cloud-elements/churros/events","assignees_url":"https://api.github.com/repos/cloud-elements/churros/assignees{/user}","branches_url":"https://api.github.com/repos/cloud-elements/churros/branches{/branch}","tags_url":"https://api.github.com/repos/cloud-elements/churros/tags","blobs_url":"https://api.github.com/repos/cloud-elements/churros/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloud-elements/churros/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloud-elements/churros/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloud-elements/churros/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloud-elements/churros/statuses/{sha}","languages_url":"https://api.github.com/repos/cloud-elements/churros/languages","stargazers_url":"https://api.github.com/repos/cloud-elements/churros/stargazers","contributors_url":"https://api.github.com/repos/cloud-elements/churros/contributors","subscribers_url":"https://api.github.com/repos/cloud-elements/churros/subscribers","subscription_url":"https://api.github.com/repos/cloud-elements/churros/subscription","commits_url":"https://api.github.com/repos/cloud-elements/churros/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloud-elements/churros/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloud-elements/churros/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloud-elements/churros/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloud-elements/churros/contents/{+path}","compare_url":"https://api.github.com/repos/cloud-elements/churros/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloud-elements/churros/merges","archive_url":"https://api.github.com/repos/cloud-elements/churros/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloud-elements/churros/downloads","issues_url":"https://api.github.com/repos/cloud-elements/churros/issues{/number}","pulls_url":"https://api.github.com/repos/cloud-elements/churros/pulls{/number}","milestones_url":"https://api.github.com/repos/cloud-elements/churros/milestones{/number}","notifications_url":"https://api.github.com/repos/cloud-elements/churros/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloud-elements/churros/labels{/name}","releases_url":"https://api.github.com/repos/cloud-elements/churros/releases{/id}","deployments_url":"https://api.github.com/repos/cloud-elements/churros/deployments","created_at":"2015-11-17T15:32:22Z","updated_at":"2017-11-10T02:19:41Z","pushed_at":"2018-03-08T05:28:52Z","git_url":"git://github.com/cloud-elements/churros.git","ssh_url":"git@github.com:cloud-elements/churros.git","clone_url":"https://github.com/cloud-elements/churros.git","svn_url":"https://github.com/cloud-elements/churros","homepage":"","size":13234,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":108,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":5,"open_issues":108,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloud-elements/churros/pulls/1421"},"html":{"href":"https://github.com/cloud-elements/churros/pull/1421"},"issue":{"href":"https://api.github.com/repos/cloud-elements/churros/issues/1421"},"comments":{"href":"https://api.github.com/repos/cloud-elements/churros/issues/1421/comments"},"review_comments":{"href":"https://api.github.com/repos/cloud-elements/churros/pulls/1421/comments"},"review_comment":{"href":"https://api.github.com/repos/cloud-elements/churros/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloud-elements/churros/pulls/1421/commits"},"statuses":{"href":"https://api.github.com/repos/cloud-elements/churros/statuses/92cfa0bd2e0df78eb14495a1eb523ca2df9bcfa8"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"GarimaAgarwal-GSLab"}}