{"action":"created","issue":{"url":"https://api.github.com/repos/droolsjbpm/droolsjbpm-integration/issues/129","labels_url":"https://api.github.com/repos/droolsjbpm/droolsjbpm-integration/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/droolsjbpm/droolsjbpm-integration/issues/129/comments","events_url":"https://api.github.com/repos/droolsjbpm/droolsjbpm-integration/issues/129/events","html_url":"https://github.com/droolsjbpm/droolsjbpm-integration/pull/129","id":82443915,"number":129,"title":"DROOLS-733 - splitted and refactored work item operations test","user":{"login":"sutaakar","id":4629376,"avatar_url":"https://avatars.githubusercontent.com/u/4629376?v=3","gravatar_id":"","url":"https://api.github.com/users/sutaakar","html_url":"https://github.com/sutaakar","followers_url":"https://api.github.com/users/sutaakar/followers","following_url":"https://api.github.com/users/sutaakar/following{/other_user}","gists_url":"https://api.github.com/users/sutaakar/gists{/gist_id}","starred_url":"https://api.github.com/users/sutaakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sutaakar/subscriptions","organizations_url":"https://api.github.com/users/sutaakar/orgs","repos_url":"https://api.github.com/users/sutaakar/repos","events_url":"https://api.github.com/users/sutaakar/events{/privacy}","received_events_url":"https://api.github.com/users/sutaakar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-29T14:09:25Z","updated_at":"2015-06-02T13:42:58Z","closed_at":"2015-06-02T13:42:58Z","pull_request":{"url":"https://api.github.com/repos/droolsjbpm/droolsjbpm-integration/pulls/129","html_url":"https://github.com/droolsjbpm/droolsjbpm-integration/pull/129","diff_url":"https://github.com/droolsjbpm/droolsjbpm-integration/pull/129.diff","patch_url":"https://github.com/droolsjbpm/droolsjbpm-integration/pull/129.patch"},"body":"Splitted testWorkItemOperations. \r\nUser task shouldn't be handled as work item because in such case it doesn't behave consistently: in database there was left task in ready status even when process instance was completed. That caused issues in other tests.\r\nIn this PR user task is completed using startTask/completeTask and work item operation tests are done on second task - Email work item.\r\nTest was splitted to cover both abortWorkItem and completeWorkItem."},"comment":{"url":"https://api.github.com/repos/droolsjbpm/droolsjbpm-integration/issues/comments/107956827","html_url":"https://github.com/droolsjbpm/droolsjbpm-integration/pull/129#issuecomment-107956827","issue_url":"https://api.github.com/repos/droolsjbpm/droolsjbpm-integration/issues/129","id":107956827,"user":{"login":"mswiderski","id":904474,"avatar_url":"https://avatars.githubusercontent.com/u/904474?v=3","gravatar_id":"","url":"https://api.github.com/users/mswiderski","html_url":"https://github.com/mswiderski","followers_url":"https://api.github.com/users/mswiderski/followers","following_url":"https://api.github.com/users/mswiderski/following{/other_user}","gists_url":"https://api.github.com/users/mswiderski/gists{/gist_id}","starred_url":"https://api.github.com/users/mswiderski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mswiderski/subscriptions","organizations_url":"https://api.github.com/users/mswiderski/orgs","repos_url":"https://api.github.com/users/mswiderski/repos","events_url":"https://api.github.com/users/mswiderski/events{/privacy}","received_events_url":"https://api.github.com/users/mswiderski/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T13:42:58Z","updated_at":"2015-06-02T13:42:58Z","body":"merged into master, thanks @sutaakar "}}