{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/mattwire/civicrm-core/pulls/1","id":188046628,"html_url":"https://github.com/mattwire/civicrm-core/pull/1","diff_url":"https://github.com/mattwire/civicrm-core/pull/1.diff","patch_url":"https://github.com/mattwire/civicrm-core/pull/1.patch","issue_url":"https://api.github.com/repos/mattwire/civicrm-core/issues/1","number":1,"state":"closed","locked":false,"title":"Add phpunit test to check for no id and no params conditions for clone scheduled job functionality","user":{"login":"tiotsop01","id":36949192,"avatar_url":"https://avatars2.githubusercontent.com/u/36949192?v=4","gravatar_id":"","url":"https://api.github.com/users/tiotsop01","html_url":"https://github.com/tiotsop01","followers_url":"https://api.github.com/users/tiotsop01/followers","following_url":"https://api.github.com/users/tiotsop01/following{/other_user}","gists_url":"https://api.github.com/users/tiotsop01/gists{/gist_id}","starred_url":"https://api.github.com/users/tiotsop01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiotsop01/subscriptions","organizations_url":"https://api.github.com/users/tiotsop01/orgs","repos_url":"https://api.github.com/users/tiotsop01/repos","events_url":"https://api.github.com/users/tiotsop01/events{/privacy}","received_events_url":"https://api.github.com/users/tiotsop01/received_events","type":"User","site_admin":false},"body":"Overview\r\n----------------------------------------\r\nThe current test, tests that if you call the clone API with an array with the ID of an existing job, it creates a new job. But what if we call the clone API with no parameters or what if we call it with an id for a job that doesn't exist?\r\nBefore\r\n----------------------------------------\r\n The test checks that if you call the clone API with an array with the ID of an existing job, it creates a new job.\r\n\r\nAfter\r\n----------------------------------------\r\nIn addition to testing that if you call the clone API with an array with the ID of an existing job, it creates a new job, also checks for no id and no params conditions\r\n\r\nComments\r\n----------------------------------------\r\nThis is a PR on another PR\r\n","created_at":"2018-05-15T08:13:27Z","updated_at":"2018-05-15T08:16:33Z","closed_at":"2018-05-15T08:16:33Z","merged_at":null,"merge_commit_sha":"6be9546ee9f6fec9518d720ba54f441f859d37a3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mattwire/civicrm-core/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mattwire/civicrm-core/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mattwire/civicrm-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mattwire/civicrm-core/issues/1/comments","statuses_url":"https://api.github.com/repos/mattwire/civicrm-core/statuses/821ea0265b0ac92ac7d6a2b66be16ed643bc43fe","head":{"label":"tiotsop01:devcore-clone-jobs-test","ref":"devcore-clone-jobs-test","sha":"821ea0265b0ac92ac7d6a2b66be16ed643bc43fe","user":{"login":"tiotsop01","id":36949192,"avatar_url":"https://avatars2.githubusercontent.com/u/36949192?v=4","gravatar_id":"","url":"https://api.github.com/users/tiotsop01","html_url":"https://github.com/tiotsop01","followers_url":"https://api.github.com/users/tiotsop01/followers","following_url":"https://api.github.com/users/tiotsop01/following{/other_user}","gists_url":"https://api.github.com/users/tiotsop01/gists{/gist_id}","starred_url":"https://api.github.com/users/tiotsop01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiotsop01/subscriptions","organizations_url":"https://api.github.com/users/tiotsop01/orgs","repos_url":"https://api.github.com/users/tiotsop01/repos","events_url":"https://api.github.com/users/tiotsop01/events{/privacy}","received_events_url":"https://api.github.com/users/tiotsop01/received_events","type":"User","site_admin":false},"repo":{"id":133472812,"name":"civicrm-core","full_name":"tiotsop01/civicrm-core","owner":{"login":"tiotsop01","id":36949192,"avatar_url":"https://avatars2.githubusercontent.com/u/36949192?v=4","gravatar_id":"","url":"https://api.github.com/users/tiotsop01","html_url":"https://github.com/tiotsop01","followers_url":"https://api.github.com/users/tiotsop01/followers","following_url":"https://api.github.com/users/tiotsop01/following{/other_user}","gists_url":"https://api.github.com/users/tiotsop01/gists{/gist_id}","starred_url":"https://api.github.com/users/tiotsop01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiotsop01/subscriptions","organizations_url":"https://api.github.com/users/tiotsop01/orgs","repos_url":"https://api.github.com/users/tiotsop01/repos","events_url":"https://api.github.com/users/tiotsop01/events{/privacy}","received_events_url":"https://api.github.com/users/tiotsop01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tiotsop01/civicrm-core","description":"CiviCRM (Core Application and Framework)","fork":true,"url":"https://api.github.com/repos/tiotsop01/civicrm-core","forks_url":"https://api.github.com/repos/tiotsop01/civicrm-core/forks","keys_url":"https://api.github.com/repos/tiotsop01/civicrm-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tiotsop01/civicrm-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tiotsop01/civicrm-core/teams","hooks_url":"https://api.github.com/repos/tiotsop01/civicrm-core/hooks","issue_events_url":"https://api.github.com/repos/tiotsop01/civicrm-core/issues/events{/number}","events_url":"https://api.github.com/repos/tiotsop01/civicrm-core/events","assignees_url":"https://api.github.com/repos/tiotsop01/civicrm-core/assignees{/user}","branches_url":"https://api.github.com/repos/tiotsop01/civicrm-core/branches{/branch}","tags_url":"https://api.github.com/repos/tiotsop01/civicrm-core/tags","blobs_url":"https://api.github.com/repos/tiotsop01/civicrm-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tiotsop01/civicrm-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tiotsop01/civicrm-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/tiotsop01/civicrm-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tiotsop01/civicrm-core/statuses/{sha}","languages_url":"https://api.github.com/repos/tiotsop01/civicrm-core/languages","stargazers_url":"https://api.github.com/repos/tiotsop01/civicrm-core/stargazers","contributors_url":"https://api.github.com/repos/tiotsop01/civicrm-core/contributors","subscribers_url":"https://api.github.com/repos/tiotsop01/civicrm-core/subscribers","subscription_url":"https://api.github.com/repos/tiotsop01/civicrm-core/subscription","commits_url":"https://api.github.com/repos/tiotsop01/civicrm-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/tiotsop01/civicrm-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/tiotsop01/civicrm-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/tiotsop01/civicrm-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/tiotsop01/civicrm-core/contents/{+path}","compare_url":"https://api.github.com/repos/tiotsop01/civicrm-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tiotsop01/civicrm-core/merges","archive_url":"https://api.github.com/repos/tiotsop01/civicrm-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tiotsop01/civicrm-core/downloads","issues_url":"https://api.github.com/repos/tiotsop01/civicrm-core/issues{/number}","pulls_url":"https://api.github.com/repos/tiotsop01/civicrm-core/pulls{/number}","milestones_url":"https://api.github.com/repos/tiotsop01/civicrm-core/milestones{/number}","notifications_url":"https://api.github.com/repos/tiotsop01/civicrm-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tiotsop01/civicrm-core/labels{/name}","releases_url":"https://api.github.com/repos/tiotsop01/civicrm-core/releases{/id}","deployments_url":"https://api.github.com/repos/tiotsop01/civicrm-core/deployments","created_at":"2018-05-15T06:57:55Z","updated_at":"2018-05-15T06:58:13Z","pushed_at":"2018-05-15T07:08:52Z","git_url":"git://github.com/tiotsop01/civicrm-core.git","ssh_url":"git@github.com:tiotsop01/civicrm-core.git","clone_url":"https://github.com/tiotsop01/civicrm-core.git","svn_url":"https://github.com/tiotsop01/civicrm-core","homepage":null,"size":161120,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mattwire:master","ref":"master","sha":"f62fff19a6fac62206e4834d5072d8f740466a96","user":{"login":"mattwire","id":2052161,"avatar_url":"https://avatars1.githubusercontent.com/u/2052161?v=4","gravatar_id":"","url":"https://api.github.com/users/mattwire","html_url":"https://github.com/mattwire","followers_url":"https://api.github.com/users/mattwire/followers","following_url":"https://api.github.com/users/mattwire/following{/other_user}","gists_url":"https://api.github.com/users/mattwire/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwire/subscriptions","organizations_url":"https://api.github.com/users/mattwire/orgs","repos_url":"https://api.github.com/users/mattwire/repos","events_url":"https://api.github.com/users/mattwire/events{/privacy}","received_events_url":"https://api.github.com/users/mattwire/received_events","type":"User","site_admin":false},"repo":{"id":80881389,"name":"civicrm-core","full_name":"mattwire/civicrm-core","owner":{"login":"mattwire","id":2052161,"avatar_url":"https://avatars1.githubusercontent.com/u/2052161?v=4","gravatar_id":"","url":"https://api.github.com/users/mattwire","html_url":"https://github.com/mattwire","followers_url":"https://api.github.com/users/mattwire/followers","following_url":"https://api.github.com/users/mattwire/following{/other_user}","gists_url":"https://api.github.com/users/mattwire/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwire/subscriptions","organizations_url":"https://api.github.com/users/mattwire/orgs","repos_url":"https://api.github.com/users/mattwire/repos","events_url":"https://api.github.com/users/mattwire/events{/privacy}","received_events_url":"https://api.github.com/users/mattwire/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mattwire/civicrm-core","description":"CiviCRM (Core Application and Framework)","fork":true,"url":"https://api.github.com/repos/mattwire/civicrm-core","forks_url":"https://api.github.com/repos/mattwire/civicrm-core/forks","keys_url":"https://api.github.com/repos/mattwire/civicrm-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattwire/civicrm-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattwire/civicrm-core/teams","hooks_url":"https://api.github.com/repos/mattwire/civicrm-core/hooks","issue_events_url":"https://api.github.com/repos/mattwire/civicrm-core/issues/events{/number}","events_url":"https://api.github.com/repos/mattwire/civicrm-core/events","assignees_url":"https://api.github.com/repos/mattwire/civicrm-core/assignees{/user}","branches_url":"https://api.github.com/repos/mattwire/civicrm-core/branches{/branch}","tags_url":"https://api.github.com/repos/mattwire/civicrm-core/tags","blobs_url":"https://api.github.com/repos/mattwire/civicrm-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattwire/civicrm-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattwire/civicrm-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattwire/civicrm-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattwire/civicrm-core/statuses/{sha}","languages_url":"https://api.github.com/repos/mattwire/civicrm-core/languages","stargazers_url":"https://api.github.com/repos/mattwire/civicrm-core/stargazers","contributors_url":"https://api.github.com/repos/mattwire/civicrm-core/contributors","subscribers_url":"https://api.github.com/repos/mattwire/civicrm-core/subscribers","subscription_url":"https://api.github.com/repos/mattwire/civicrm-core/subscription","commits_url":"https://api.github.com/repos/mattwire/civicrm-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattwire/civicrm-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattwire/civicrm-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattwire/civicrm-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattwire/civicrm-core/contents/{+path}","compare_url":"https://api.github.com/repos/mattwire/civicrm-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattwire/civicrm-core/merges","archive_url":"https://api.github.com/repos/mattwire/civicrm-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattwire/civicrm-core/downloads","issues_url":"https://api.github.com/repos/mattwire/civicrm-core/issues{/number}","pulls_url":"https://api.github.com/repos/mattwire/civicrm-core/pulls{/number}","milestones_url":"https://api.github.com/repos/mattwire/civicrm-core/milestones{/number}","notifications_url":"https://api.github.com/repos/mattwire/civicrm-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattwire/civicrm-core/labels{/name}","releases_url":"https://api.github.com/repos/mattwire/civicrm-core/releases{/id}","deployments_url":"https://api.github.com/repos/mattwire/civicrm-core/deployments","created_at":"2017-02-04T00:33:41Z","updated_at":"2018-05-06T12:00:52Z","pushed_at":"2018-05-15T08:13:28Z","git_url":"git://github.com/mattwire/civicrm-core.git","ssh_url":"git@github.com:mattwire/civicrm-core.git","clone_url":"https://github.com/mattwire/civicrm-core.git","svn_url":"https://github.com/mattwire/civicrm-core","homepage":null,"size":159837,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mattwire/civicrm-core/pulls/1"},"html":{"href":"https://github.com/mattwire/civicrm-core/pull/1"},"issue":{"href":"https://api.github.com/repos/mattwire/civicrm-core/issues/1"},"comments":{"href":"https://api.github.com/repos/mattwire/civicrm-core/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mattwire/civicrm-core/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mattwire/civicrm-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mattwire/civicrm-core/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mattwire/civicrm-core/statuses/821ea0265b0ac92ac7d6a2b66be16ed643bc43fe"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":false,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":96,"additions":4603,"deletions":577,"changed_files":89}}
{"actor":{"display_login":"tiotsop01"}}