{"action":"opened","issue":{"url":"https://api.github.com/repos/threatgrid/ctia/issues/271","repository_url":"https://api.github.com/repos/threatgrid/ctia","labels_url":"https://api.github.com/repos/threatgrid/ctia/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/threatgrid/ctia/issues/271/comments","events_url":"https://api.github.com/repos/threatgrid/ctia/issues/271/events","html_url":"https://github.com/threatgrid/ctia/issues/271","id":152590974,"number":271,"title":"Rewrite ES event hook/producer tests","user":{"login":"polygloton","id":368005,"avatar_url":"https://avatars.githubusercontent.com/u/368005?v=3","gravatar_id":"","url":"https://api.github.com/users/polygloton","html_url":"https://github.com/polygloton","followers_url":"https://api.github.com/users/polygloton/followers","following_url":"https://api.github.com/users/polygloton/following{/other_user}","gists_url":"https://api.github.com/users/polygloton/gists{/gist_id}","starred_url":"https://api.github.com/users/polygloton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polygloton/subscriptions","organizations_url":"https://api.github.com/users/polygloton/orgs","repos_url":"https://api.github.com/users/polygloton/repos","events_url":"https://api.github.com/users/polygloton/events{/privacy}","received_events_url":"https://api.github.com/users/polygloton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/threatgrid/ctia/milestones/4","html_url":"https://github.com/threatgrid/ctia/milestones/Debutant","labels_url":"https://api.github.com/repos/threatgrid/ctia/milestones/4/labels","id":1679697,"number":4,"title":"Debutant","description":"# Debutant Release\r\n\r\nSee https://github.com/threatgrid/ctia/blob/master/doc/roadmap.md","creator":{"login":"craigbro","id":37200,"avatar_url":"https://avatars.githubusercontent.com/u/37200?v=3","gravatar_id":"","url":"https://api.github.com/users/craigbro","html_url":"https://github.com/craigbro","followers_url":"https://api.github.com/users/craigbro/followers","following_url":"https://api.github.com/users/craigbro/following{/other_user}","gists_url":"https://api.github.com/users/craigbro/gists{/gist_id}","starred_url":"https://api.github.com/users/craigbro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigbro/subscriptions","organizations_url":"https://api.github.com/users/craigbro/orgs","repos_url":"https://api.github.com/users/craigbro/repos","events_url":"https://api.github.com/users/craigbro/events{/privacy}","received_events_url":"https://api.github.com/users/craigbro/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":9,"state":"open","created_at":"2016-04-02T20:15:36Z","updated_at":"2016-05-02T16:36:25Z","due_on":"2016-04-30T07:00:00Z","closed_at":null},"comments":0,"created_at":"2016-05-02T16:36:25Z","updated_at":"2016-05-02T16:36:25Z","closed_at":null,"body":"In PR #266, I deleted the old [producer tests](https://github.com/threatgrid/ctia/blob/e138cb9aa848d7c2a6ff9401ae5260008e01b8db/test/ctia/events/producer_test.clj), because I deleted the old producer implementation.\r\n\r\nNeed to write new tests as a sibling to the [redis event hook tests](https://github.com/polygloton/ctia/blob/issue-255-part1b/test/ctia/flows/hooks/redis_event_hook_test.clj).  The new ES hook tests would need to trigger the hook as a side effect, as is done for the redis event hook tests, and then query ES to find the events are there.\r\n\r\n"}}