{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6415","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6415/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6415/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6415/events","html_url":"https://github.com/HabitRPG/habitrpg/pull/6415","id":124283382,"number":6415,"title":"Add user request class for integration tests","user":{"login":"crookedneighbor","id":2916945,"avatar_url":"https://avatars.githubusercontent.com/u/2916945?v=3","gravatar_id":"","url":"https://api.github.com/users/crookedneighbor","html_url":"https://github.com/crookedneighbor","followers_url":"https://api.github.com/users/crookedneighbor/followers","following_url":"https://api.github.com/users/crookedneighbor/following{/other_user}","gists_url":"https://api.github.com/users/crookedneighbor/gists{/gist_id}","starred_url":"https://api.github.com/users/crookedneighbor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crookedneighbor/subscriptions","organizations_url":"https://api.github.com/users/crookedneighbor/orgs","repos_url":"https://api.github.com/users/crookedneighbor/repos","events_url":"https://api.github.com/users/crookedneighbor/events{/privacy}","received_events_url":"https://api.github.com/users/crookedneighbor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-29T23:39:48Z","updated_at":"2015-12-30T00:30:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/6415","html_url":"https://github.com/HabitRPG/habitrpg/pull/6415","diff_url":"https://github.com/HabitRPG/habitrpg/pull/6415.diff","patch_url":"https://github.com/HabitRPG/habitrpg/pull/6415.patch"},"body":"I adjusted the user object that gets returned from the `generateUser` method to have the HTTP methods directly on it. This should make writing tests easier, since we no longer need a user && an api object. \r\n\r\nWill be merging this into the api-v3 branch as well shortly.\r\n\r\nPinging @TheHollidayInn @paglias @SabreCat @KristianTashkov since you're working on integration tests as well."},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/167904603","html_url":"https://github.com/HabitRPG/habitrpg/pull/6415#issuecomment-167904603","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6415","id":167904603,"user":{"login":"crookedneighbor","id":2916945,"avatar_url":"https://avatars.githubusercontent.com/u/2916945?v=3","gravatar_id":"","url":"https://api.github.com/users/crookedneighbor","html_url":"https://github.com/crookedneighbor","followers_url":"https://api.github.com/users/crookedneighbor/followers","following_url":"https://api.github.com/users/crookedneighbor/following{/other_user}","gists_url":"https://api.github.com/users/crookedneighbor/gists{/gist_id}","starred_url":"https://api.github.com/users/crookedneighbor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crookedneighbor/subscriptions","organizations_url":"https://api.github.com/users/crookedneighbor/orgs","repos_url":"https://api.github.com/users/crookedneighbor/repos","events_url":"https://api.github.com/users/crookedneighbor/events{/privacy}","received_events_url":"https://api.github.com/users/crookedneighbor/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T00:30:10Z","updated_at":"2015-12-30T00:30:10Z","body":"The old requester syntax will still work, so no need to wait. "}}