{"action":"created","issue":{"url":"https://api.github.com/repos/matrix-org/go-neb/issues/101","repository_url":"https://api.github.com/repos/matrix-org/go-neb","labels_url":"https://api.github.com/repos/matrix-org/go-neb/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/matrix-org/go-neb/issues/101/comments","events_url":"https://api.github.com/repos/matrix-org/go-neb/issues/101/events","html_url":"https://github.com/matrix-org/go-neb/pull/101","id":185141350,"number":101,"title":"Make it possible to do integration tests","user":{"login":"Kegsay","id":7190048,"avatar_url":"https://avatars.githubusercontent.com/u/7190048?v=3","gravatar_id":"","url":"https://api.github.com/users/Kegsay","html_url":"https://github.com/Kegsay","followers_url":"https://api.github.com/users/Kegsay/followers","following_url":"https://api.github.com/users/Kegsay/following{/other_user}","gists_url":"https://api.github.com/users/Kegsay/gists{/gist_id}","starred_url":"https://api.github.com/users/Kegsay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kegsay/subscriptions","organizations_url":"https://api.github.com/users/Kegsay/orgs","repos_url":"https://api.github.com/users/Kegsay/repos","events_url":"https://api.github.com/users/Kegsay/events{/privacy}","received_events_url":"https://api.github.com/users/Kegsay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/matrix-org/go-neb/labels/refactor","name":"refactor","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"NegativeMjark","id":904009,"avatar_url":"https://avatars.githubusercontent.com/u/904009?v=3","gravatar_id":"","url":"https://api.github.com/users/NegativeMjark","html_url":"https://github.com/NegativeMjark","followers_url":"https://api.github.com/users/NegativeMjark/followers","following_url":"https://api.github.com/users/NegativeMjark/following{/other_user}","gists_url":"https://api.github.com/users/NegativeMjark/gists{/gist_id}","starred_url":"https://api.github.com/users/NegativeMjark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NegativeMjark/subscriptions","organizations_url":"https://api.github.com/users/NegativeMjark/orgs","repos_url":"https://api.github.com/users/NegativeMjark/repos","events_url":"https://api.github.com/users/NegativeMjark/events{/privacy}","received_events_url":"https://api.github.com/users/NegativeMjark/received_events","type":"User","site_admin":false},"assignees":[{"login":"NegativeMjark","id":904009,"avatar_url":"https://avatars.githubusercontent.com/u/904009?v=3","gravatar_id":"","url":"https://api.github.com/users/NegativeMjark","html_url":"https://github.com/NegativeMjark","followers_url":"https://api.github.com/users/NegativeMjark/followers","following_url":"https://api.github.com/users/NegativeMjark/following{/other_user}","gists_url":"https://api.github.com/users/NegativeMjark/gists{/gist_id}","starred_url":"https://api.github.com/users/NegativeMjark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NegativeMjark/subscriptions","organizations_url":"https://api.github.com/users/NegativeMjark/orgs","repos_url":"https://api.github.com/users/NegativeMjark/repos","events_url":"https://api.github.com/users/NegativeMjark/events{/privacy}","received_events_url":"https://api.github.com/users/NegativeMjark/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-10-25T14:53:14Z","updated_at":"2016-10-25T15:20:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/matrix-org/go-neb/pulls/101","html_url":"https://github.com/matrix-org/go-neb/pull/101","diff_url":"https://github.com/matrix-org/go-neb/pull/101.diff","patch_url":"https://github.com/matrix-org/go-neb/pull/101.patch"},"body":"This means:\r\n - Allow an alternative HTTP client to be used for all Matrix clients so we can mock out the Homeserver.\r\n - Allow an alternative `ServeMux` to be used so we can inject fake Go-NEB requests to things like `/configureService`, and check their responses.\r\n - Allow alternative environment variables to be specified rather than exclusively by `os.Getenv`, so we can use an in-memory database.\r\n\r\nAdded a noddy `TestConfigureClient` test to make sure that:\r\n - We can send `/configureClient` requests.\r\n - We can validate the response.\r\n - We can assert `/sync` streams are started.\r\n\r\nThe design of the test **will change**, this is simply a PoC."},"comment":{"url":"https://api.github.com/repos/matrix-org/go-neb/issues/comments/256066793","html_url":"https://github.com/matrix-org/go-neb/pull/101#issuecomment-256066793","issue_url":"https://api.github.com/repos/matrix-org/go-neb/issues/101","id":256066793,"user":{"login":"NegativeMjark","id":904009,"avatar_url":"https://avatars.githubusercontent.com/u/904009?v=3","gravatar_id":"","url":"https://api.github.com/users/NegativeMjark","html_url":"https://github.com/NegativeMjark","followers_url":"https://api.github.com/users/NegativeMjark/followers","following_url":"https://api.github.com/users/NegativeMjark/following{/other_user}","gists_url":"https://api.github.com/users/NegativeMjark/gists{/gist_id}","starred_url":"https://api.github.com/users/NegativeMjark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NegativeMjark/subscriptions","organizations_url":"https://api.github.com/users/NegativeMjark/orgs","repos_url":"https://api.github.com/users/NegativeMjark/repos","events_url":"https://api.github.com/users/NegativeMjark/events{/privacy}","received_events_url":"https://api.github.com/users/NegativeMjark/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T15:20:43Z","updated_at":"2016-10-25T15:20:43Z","body":"LGTM"}}
{"actor":{"display_login":"NegativeMjark"}}