{"action":"created","issue":{"url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1293","labels_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1293/labels{/name}","comments_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1293/comments","events_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1293/events","html_url":"https://github.com/dropwizard/dropwizard/pull/1293","id":112818640,"number":1293,"title":"Replace default validator in tests","user":{"login":"nickbabcock","id":2106129,"avatar_url":"https://avatars.githubusercontent.com/u/2106129?v=3","gravatar_id":"","url":"https://api.github.com/users/nickbabcock","html_url":"https://github.com/nickbabcock","followers_url":"https://api.github.com/users/nickbabcock/followers","following_url":"https://api.github.com/users/nickbabcock/following{/other_user}","gists_url":"https://api.github.com/users/nickbabcock/gists{/gist_id}","starred_url":"https://api.github.com/users/nickbabcock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickbabcock/subscriptions","organizations_url":"https://api.github.com/users/nickbabcock/orgs","repos_url":"https://api.github.com/users/nickbabcock/repos","events_url":"https://api.github.com/users/nickbabcock/events{/privacy}","received_events_url":"https://api.github.com/users/nickbabcock/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dropwizard/dropwizard/labels/improvement","name":"improvement","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dropwizard/dropwizard/milestones/8","html_url":"https://github.com/dropwizard/dropwizard/milestones/0.9.0","labels_url":"https://api.github.com/repos/dropwizard/dropwizard/milestones/8/labels","id":1039133,"number":8,"title":"0.9.0","description":"","creator":{"login":"jplock","id":49093,"avatar_url":"https://avatars.githubusercontent.com/u/49093?v=3","gravatar_id":"","url":"https://api.github.com/users/jplock","html_url":"https://github.com/jplock","followers_url":"https://api.github.com/users/jplock/followers","following_url":"https://api.github.com/users/jplock/following{/other_user}","gists_url":"https://api.github.com/users/jplock/gists{/gist_id}","starred_url":"https://api.github.com/users/jplock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jplock/subscriptions","organizations_url":"https://api.github.com/users/jplock/orgs","repos_url":"https://api.github.com/users/jplock/repos","events_url":"https://api.github.com/users/jplock/events{/privacy}","received_events_url":"https://api.github.com/users/jplock/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":163,"state":"open","created_at":"2015-03-25T21:01:11Z","updated_at":"2015-10-22T15:43:16Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-10-22T14:44:22Z","updated_at":"2015-10-22T16:30:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dropwizard/dropwizard/pulls/1293","html_url":"https://github.com/dropwizard/dropwizard/pull/1293","diff_url":"https://github.com/dropwizard/dropwizard/pull/1293.diff","patch_url":"https://github.com/dropwizard/dropwizard/pull/1293.patch"},"body":"The validator used in tests\r\n(`Validation.buildDefaultValidatorFactory().getValidator()`) is not dropwizard\r\nconfigured, thus bugs like #1292 slipped through. This pull request moves the\r\ntests to the dropwizard configured validator. Note that this doesn't cover all\r\ncases as some classes are not able to import dropwizard-jersey (where the\r\ndropwizard configured validator lies) into the tests, so more work will need\r\nto be done to cover all the bases.\r\n\r\n~~This pull request also fixes #1292~~"},"comment":{"url":"https://api.github.com/repos/dropwizard/dropwizard/issues/comments/150280982","html_url":"https://github.com/dropwizard/dropwizard/pull/1293#issuecomment-150280982","issue_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1293","id":150280982,"user":{"login":"joschi","id":43951,"avatar_url":"https://avatars.githubusercontent.com/u/43951?v=3","gravatar_id":"","url":"https://api.github.com/users/joschi","html_url":"https://github.com/joschi","followers_url":"https://api.github.com/users/joschi/followers","following_url":"https://api.github.com/users/joschi/following{/other_user}","gists_url":"https://api.github.com/users/joschi/gists{/gist_id}","starred_url":"https://api.github.com/users/joschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joschi/subscriptions","organizations_url":"https://api.github.com/users/joschi/orgs","repos_url":"https://api.github.com/users/joschi/repos","events_url":"https://api.github.com/users/joschi/events{/privacy}","received_events_url":"https://api.github.com/users/joschi/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T16:30:04Z","updated_at":"2015-10-22T16:30:04Z","body":"LGTM. :+1: \r\nThanks!"}}