{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/15974","labels_url":"https://api.github.com/repos/symfony/symfony/issues/15974/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/15974/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/15974/events","html_url":"https://github.com/symfony/symfony/pull/15974","id":108677595,"number":15974,"title":"[Security] fix tests for the `AbstractVoter` class","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},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-28T15:08:29Z","updated_at":"2015-09-28T17:01:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/15974","html_url":"https://github.com/symfony/symfony/pull/15974","diff_url":"https://github.com/symfony/symfony/pull/15974.diff","patch_url":"https://github.com/symfony/symfony/pull/15974.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | #15961, #15968\r\n| License       | MIT\r\n| Doc PR        | \r\n\r\n* The `LegacyAbstractVoterTest` class is not needed anymore, tests have\r\n  been moved to the `AbstractVoterTest` class tagging them with the\r\n  legacy group.\r\n* Tests are applied on `stdClass` object instances. Thus, the legacy\r\n  voter fixture class must not support `AbstractVoterTest_Object`\r\n  instances, but support `stdClass` objects instead.\r\n* Remove a test that checked for a `BadMethodCallException` being\r\n  thrown. This seems to have been added accidentally in #15961."},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/143804880","html_url":"https://github.com/symfony/symfony/pull/15974#issuecomment-143804880","issue_url":"https://api.github.com/repos/symfony/symfony/issues/15974","id":143804880,"user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T17:01:33Z","updated_at":"2015-09-28T17:01:33Z","body":":+1: \r\n\r\nstatus: reviewed"}}