{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/16287","labels_url":"https://api.github.com/repos/symfony/symfony/issues/16287/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/16287/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/16287/events","html_url":"https://github.com/symfony/symfony/pull/16287","id":112124002,"number":16287,"title":"[HttpFoundation] Check Mongo effective connection before starting tests","user":{"login":"EmanueleMinotto","id":417201,"avatar_url":"https://avatars.githubusercontent.com/u/417201?v=3","gravatar_id":"","url":"https://api.github.com/users/EmanueleMinotto","html_url":"https://github.com/EmanueleMinotto","followers_url":"https://api.github.com/users/EmanueleMinotto/followers","following_url":"https://api.github.com/users/EmanueleMinotto/following{/other_user}","gists_url":"https://api.github.com/users/EmanueleMinotto/gists{/gist_id}","starred_url":"https://api.github.com/users/EmanueleMinotto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmanueleMinotto/subscriptions","organizations_url":"https://api.github.com/users/EmanueleMinotto/orgs","repos_url":"https://api.github.com/users/EmanueleMinotto/repos","events_url":"https://api.github.com/users/EmanueleMinotto/events{/privacy}","received_events_url":"https://api.github.com/users/EmanueleMinotto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Work","name":"Status: Needs Work","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-19T11:14:25Z","updated_at":"2015-10-28T19:47:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/16287","html_url":"https://github.com/symfony/symfony/pull/16287","diff_url":"https://github.com/symfony/symfony/pull/16287.diff","patch_url":"https://github.com/symfony/symfony/pull/16287.patch"},"body":"| Q             | A\n| ------------- | ---\n| Bug fix?      | yes\n| New feature?  | no\n| BC breaks?    | no\n| Deprecations? | no\n| Tests pass?   | yes\n| Fixed tickets | -\n| License       | MIT\n| Doc PR        | -\n\nThe test suite for `MongoDbSessionHandlerTest` is executed even if a connection can’t be established."},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/151969584","html_url":"https://github.com/symfony/symfony/pull/16287#issuecomment-151969584","issue_url":"https://api.github.com/repos/symfony/symfony/issues/16287","id":151969584,"user":{"login":"xabbuh","id":1957048,"avatar_url":"https://avatars.githubusercontent.com/u/1957048?v=3","gravatar_id":"","url":"https://api.github.com/users/xabbuh","html_url":"https://github.com/xabbuh","followers_url":"https://api.github.com/users/xabbuh/followers","following_url":"https://api.github.com/users/xabbuh/following{/other_user}","gists_url":"https://api.github.com/users/xabbuh/gists{/gist_id}","starred_url":"https://api.github.com/users/xabbuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabbuh/subscriptions","organizations_url":"https://api.github.com/users/xabbuh/orgs","repos_url":"https://api.github.com/users/xabbuh/repos","events_url":"https://api.github.com/users/xabbuh/events{/privacy}","received_events_url":"https://api.github.com/users/xabbuh/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T19:47:33Z","updated_at":"2015-10-28T19:47:33Z","body":"Imo having this check method is the wrong solution. Simply calling `disableOriginalConstructor()` on the mock builder was way cleaner."}}