{"action":"created","issue":{"url":"https://api.github.com/repos/big-neon/bn-api/issues/382","repository_url":"https://api.github.com/repos/big-neon/bn-api","labels_url":"https://api.github.com/repos/big-neon/bn-api/issues/382/labels{/name}","comments_url":"https://api.github.com/repos/big-neon/bn-api/issues/382/comments","events_url":"https://api.github.com/repos/big-neon/bn-api/issues/382/events","html_url":"https://github.com/big-neon/bn-api/issues/382","id":368178267,"node_id":"MDU6SXNzdWUzNjgxNzgyNjc=","number":382,"title":"User roles in unit tests","user":{"login":"SWvheerden","id":2579813,"node_id":"MDQ6VXNlcjI1Nzk4MTM=","avatar_url":"https://avatars2.githubusercontent.com/u/2579813?v=4","gravatar_id":"","url":"https://api.github.com/users/SWvheerden","html_url":"https://github.com/SWvheerden","followers_url":"https://api.github.com/users/SWvheerden/followers","following_url":"https://api.github.com/users/SWvheerden/following{/other_user}","gists_url":"https://api.github.com/users/SWvheerden/gists{/gist_id}","starred_url":"https://api.github.com/users/SWvheerden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SWvheerden/subscriptions","organizations_url":"https://api.github.com/users/SWvheerden/orgs","repos_url":"https://api.github.com/users/SWvheerden/repos","events_url":"https://api.github.com/users/SWvheerden/events{/privacy}","received_events_url":"https://api.github.com/users/SWvheerden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-09T12:09:18Z","updated_at":"2018-10-10T14:49:36Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Users are not created with correct roles.\r\nAdding roles to display users and running unit tests easily shows the problem. "},"comment":{"url":"https://api.github.com/repos/big-neon/bn-api/issues/comments/428602246","html_url":"https://github.com/big-neon/bn-api/issues/382#issuecomment-428602246","issue_url":"https://api.github.com/repos/big-neon/bn-api/issues/382","id":428602246,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODYwMjI0Ng==","user":{"login":"Timo614","id":1319304,"node_id":"MDQ6VXNlcjEzMTkzMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1319304?v=4","gravatar_id":"","url":"https://api.github.com/users/Timo614","html_url":"https://github.com/Timo614","followers_url":"https://api.github.com/users/Timo614/followers","following_url":"https://api.github.com/users/Timo614/following{/other_user}","gists_url":"https://api.github.com/users/Timo614/gists{/gist_id}","starred_url":"https://api.github.com/users/Timo614/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timo614/subscriptions","organizations_url":"https://api.github.com/users/Timo614/orgs","repos_url":"https://api.github.com/users/Timo614/repos","events_url":"https://api.github.com/users/Timo614/events{/privacy}","received_events_url":"https://api.github.com/users/Timo614/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T14:49:36Z","updated_at":"2018-10-10T14:49:36Z","author_association":"COLLABORATOR","body":"We may be safe tossing the other organization test cases for a lot of these entirely thinking it over. \r\n\r\nThe `User` role related tests should cover this for the most part since they're effectively just users in the context of the other organization. We have unit tests which check to confirm which roles are returned via an organization so this is just additional redundancy we likely don't need.\r\n\r\nSo we could probably speed up our tests a bit and clean up the code by just dropping those cases entirely. I'll quickly do that today."}}
{"actor":{"display_login":"Timo614"}}