{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/7909","labels_url":"https://api.github.com/repos/laravel/framework/issues/7909/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/7909/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/7909/events","html_url":"https://github.com/laravel/framework/pull/7909","id":60148712,"number":7909,"title":"[5.0] fixed global scope case where eager loading inside scope causes 'is null'","user":{"login":"austenc","id":575421,"avatar_url":"https://avatars.githubusercontent.com/u/575421?v=3","gravatar_id":"","url":"https://api.github.com/users/austenc","html_url":"https://github.com/austenc","followers_url":"https://api.github.com/users/austenc/followers","following_url":"https://api.github.com/users/austenc/following{/other_user}","gists_url":"https://api.github.com/users/austenc/gists{/gist_id}","starred_url":"https://api.github.com/users/austenc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austenc/subscriptions","organizations_url":"https://api.github.com/users/austenc/orgs","repos_url":"https://api.github.com/users/austenc/repos","events_url":"https://api.github.com/users/austenc/events{/privacy}","received_events_url":"https://api.github.com/users/austenc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/laravel/framework/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/laravel/framework/labels/database","name":"database","color":"eb6420"},{"url":"https://api.github.com/repos/laravel/framework/labels/medium%20priority","name":"medium priority","color":"fad8c7"},{"url":"https://api.github.com/repos/laravel/framework/labels/requires%20changes","name":"requires changes","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-06T19:43:00Z","updated_at":"2015-03-06T21:11:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/7909","html_url":"https://github.com/laravel/framework/pull/7909","diff_url":"https://github.com/laravel/framework/pull/7909.diff","patch_url":"https://github.com/laravel/framework/pull/7909.patch"},"body":"See https://github.com/laravel/framework/pull/7898.\r\n\r\nAny input / advice / test help appreciated."},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/77636583","html_url":"https://github.com/laravel/framework/pull/7909#issuecomment-77636583","issue_url":"https://api.github.com/repos/laravel/framework/issues/7909","id":77636583,"user":{"login":"austenc","id":575421,"avatar_url":"https://avatars.githubusercontent.com/u/575421?v=3","gravatar_id":"","url":"https://api.github.com/users/austenc","html_url":"https://github.com/austenc","followers_url":"https://api.github.com/users/austenc/followers","following_url":"https://api.github.com/users/austenc/following{/other_user}","gists_url":"https://api.github.com/users/austenc/gists{/gist_id}","starred_url":"https://api.github.com/users/austenc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austenc/subscriptions","organizations_url":"https://api.github.com/users/austenc/orgs","repos_url":"https://api.github.com/users/austenc/repos","events_url":"https://api.github.com/users/austenc/events{/privacy}","received_events_url":"https://api.github.com/users/austenc/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T21:11:53Z","updated_at":"2015-03-06T21:11:53Z","body":"@GrahamCampbell I'm not sure how to write tests for this. Any guidance or examples of similar tests would be pretty helpful and I'll give it a shot."}}