{"action":"created","issue":{"url":"https://api.github.com/repos/DoSomething/rogue/issues/251","repository_url":"https://api.github.com/repos/DoSomething/rogue","labels_url":"https://api.github.com/repos/DoSomething/rogue/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/DoSomething/rogue/issues/251/comments","events_url":"https://api.github.com/repos/DoSomething/rogue/issues/251/events","html_url":"https://github.com/DoSomething/rogue/issues/251","id":227773368,"number":251,"title":"Test to create a post is broken","user":{"login":"katiecrane","id":4240292,"avatar_url":"https://avatars2.githubusercontent.com/u/4240292?v=3","gravatar_id":"","url":"https://api.github.com/users/katiecrane","html_url":"https://github.com/katiecrane","followers_url":"https://api.github.com/users/katiecrane/followers","following_url":"https://api.github.com/users/katiecrane/following{/other_user}","gists_url":"https://api.github.com/users/katiecrane/gists{/gist_id}","starred_url":"https://api.github.com/users/katiecrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katiecrane/subscriptions","organizations_url":"https://api.github.com/users/katiecrane/orgs","repos_url":"https://api.github.com/users/katiecrane/repos","events_url":"https://api.github.com/users/katiecrane/events{/privacy}","received_events_url":"https://api.github.com/users/katiecrane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"katiecrane","id":4240292,"avatar_url":"https://avatars2.githubusercontent.com/u/4240292?v=3","gravatar_id":"","url":"https://api.github.com/users/katiecrane","html_url":"https://github.com/katiecrane","followers_url":"https://api.github.com/users/katiecrane/followers","following_url":"https://api.github.com/users/katiecrane/following{/other_user}","gists_url":"https://api.github.com/users/katiecrane/gists{/gist_id}","starred_url":"https://api.github.com/users/katiecrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katiecrane/subscriptions","organizations_url":"https://api.github.com/users/katiecrane/orgs","repos_url":"https://api.github.com/users/katiecrane/repos","events_url":"https://api.github.com/users/katiecrane/events{/privacy}","received_events_url":"https://api.github.com/users/katiecrane/received_events","type":"User","site_admin":false},"assignees":[{"login":"katiecrane","id":4240292,"avatar_url":"https://avatars2.githubusercontent.com/u/4240292?v=3","gravatar_id":"","url":"https://api.github.com/users/katiecrane","html_url":"https://github.com/katiecrane","followers_url":"https://api.github.com/users/katiecrane/followers","following_url":"https://api.github.com/users/katiecrane/following{/other_user}","gists_url":"https://api.github.com/users/katiecrane/gists{/gist_id}","starred_url":"https://api.github.com/users/katiecrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katiecrane/subscriptions","organizations_url":"https://api.github.com/users/katiecrane/orgs","repos_url":"https://api.github.com/users/katiecrane/repos","events_url":"https://api.github.com/users/katiecrane/events{/privacy}","received_events_url":"https://api.github.com/users/katiecrane/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-05-10T18:40:27Z","updated_at":"2017-05-12T16:15:08Z","closed_at":null,"body":"_BUG_\r\n-------------------\r\n#### Current Behavior\r\nI broke it when I removed all the code to send Posts to Phoenix in this PR: https://github.com/DoSomething/rogue/pull/244\r\n\r\nThis is the error:\r\n```\r\n1) PostApiTest::testCreatingAPost\r\nException: These expected jobs were not dispatched: [Rogue\\Jobs\\SendPostToPhoenix]\r\n\r\n/home/vagrant/Sites/rogue/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MocksApplicationServices.php:144\r\n/home/vagrant/Sites/rogue/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestCase.php:123\r\n```\r\n\r\n#### Desired Behavior\r\nRemove the code from the test that makes sure the job `SendPostToPhoenix` is dispatched. \r\n\r\n#### Steps to Replicate\r\nJust run the tests!\r\n\r\n#### Why This Matters\r\nWe want good tests!"},"comment":{"url":"https://api.github.com/repos/DoSomething/rogue/issues/comments/301120389","html_url":"https://github.com/DoSomething/rogue/issues/251#issuecomment-301120389","issue_url":"https://api.github.com/repos/DoSomething/rogue/issues/251","id":301120389,"user":{"login":"katiecrane","id":4240292,"avatar_url":"https://avatars2.githubusercontent.com/u/4240292?v=3","gravatar_id":"","url":"https://api.github.com/users/katiecrane","html_url":"https://github.com/katiecrane","followers_url":"https://api.github.com/users/katiecrane/followers","following_url":"https://api.github.com/users/katiecrane/following{/other_user}","gists_url":"https://api.github.com/users/katiecrane/gists{/gist_id}","starred_url":"https://api.github.com/users/katiecrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katiecrane/subscriptions","organizations_url":"https://api.github.com/users/katiecrane/orgs","repos_url":"https://api.github.com/users/katiecrane/repos","events_url":"https://api.github.com/users/katiecrane/events{/privacy}","received_events_url":"https://api.github.com/users/katiecrane/received_events","type":"User","site_admin":false},"created_at":"2017-05-12T16:15:08Z","updated_at":"2017-05-12T16:15:08Z","body":"@chloealee totally cool! I mostly wanted to make sure it wasn't forgotten and to document approx. how to fix it! keep the fix in there 😄 "}}
{"actor":{"display_login":"katiecrane"}}