{"action":"opened","number":82,"pull_request":{"url":"https://api.github.com/repos/spring-projects/spring-boot-issues/pulls/82","id":214857369,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0ODU3MzY5","html_url":"https://github.com/spring-projects/spring-boot-issues/pull/82","diff_url":"https://github.com/spring-projects/spring-boot-issues/pull/82.diff","patch_url":"https://github.com/spring-projects/spring-boot-issues/pull/82.patch","issue_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/issues/82","number":82,"state":"open","locked":false,"title":"unit test for 14413","user":{"login":"jimlgx","id":1543562,"node_id":"MDQ6VXNlcjE1NDM1NjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1543562?v=4","gravatar_id":"","url":"https://api.github.com/users/jimlgx","html_url":"https://github.com/jimlgx","followers_url":"https://api.github.com/users/jimlgx/followers","following_url":"https://api.github.com/users/jimlgx/following{/other_user}","gists_url":"https://api.github.com/users/jimlgx/gists{/gist_id}","starred_url":"https://api.github.com/users/jimlgx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimlgx/subscriptions","organizations_url":"https://api.github.com/users/jimlgx/orgs","repos_url":"https://api.github.com/users/jimlgx/repos","events_url":"https://api.github.com/users/jimlgx/events{/privacy}","received_events_url":"https://api.github.com/users/jimlgx/received_events","type":"User","site_admin":false},"body":"> 'spring.data.web.pageable config' not work\r\n\r\n`\r\n@RunWith(SpringRunner.class)\r\n@SpringBootTest\r\n@EnableConfigurationProperties(value = {SpringDataWebProperties.class})\r\npublic class SpringDataWebTest {\r\n    @Autowired\r\n    private ApplicationContext context;\r\n\r\n    @Autowired\r\n    private SpringDataWebProperties properties;\r\n\r\n    @Test\r\n    public void customizePageableWithConfig() {\r\n        PageableHandlerMethodArgumentResolver argumentResolver = this.context\r\n                .getBean(PageableHandlerMethodArgumentResolver.class);\r\n        // properties.pageable  equal to properties config\r\n        assertThat(properties.getPageable().getPageParameter())\r\n                .isEqualTo(\"p\");\r\n        assertThat(properties.getPageable().getSizeParameter())\r\n                .isEqualTo(\"s\");\r\n        assertThat(properties.getPageable().isOneIndexedParameters())\r\n                .isEqualTo(true);\r\n        assertThat(properties.getPageable().getPrefix())\r\n                .isEqualTo(\"abc\");\r\n        assertThat(properties.getPageable().getQualifierDelimiter())\r\n                .isEqualTo(\"__\");\r\n\r\n        assertThat(properties.getPageable().getMaxPageSize())\r\n                .isEqualTo(100);\r\n\r\n\r\n        // properties.pageable not equal argumentResolver\r\n        assertThat(ReflectionTestUtils.getField(argumentResolver, \"pageParameterName\"))\r\n                .isNotEqualTo(properties.getPageable().getPageParameter());\r\n        assertThat(ReflectionTestUtils.getField(argumentResolver, \"sizeParameterName\"))\r\n                .isNotEqualTo(properties.getPageable().getSizeParameter());\r\n        assertThat(ReflectionTestUtils.getField(argumentResolver, \"oneIndexedParameters\"))\r\n                .isNotEqualTo(properties.getPageable().isOneIndexedParameters());\r\n        assertThat(ReflectionTestUtils.getField(argumentResolver, \"prefix\"))\r\n                .isNotEqualTo(properties.getPageable().getPrefix());\r\n        assertThat(ReflectionTestUtils.getField(argumentResolver, \"qualifierDelimiter\"))\r\n                .isNotEqualTo(properties.getPageable().getQualifierDelimiter());\r\n\r\n        assertThat(ReflectionTestUtils.getField(argumentResolver, \"maxPageSize\"))\r\n                .isNotEqualTo(properties.getPageable().getMaxPageSize());\r\n    }\r\n\r\n\r\n}\r\n`","created_at":"2018-09-12T07:13:43Z","updated_at":"2018-09-12T07:13:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/pulls/82/commits","review_comments_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/pulls/82/comments","review_comment_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/issues/82/comments","statuses_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/statuses/297a9d2e6d7b008e957b07117478a8016a50e15d","head":{"label":"jimlgx:master","ref":"master","sha":"297a9d2e6d7b008e957b07117478a8016a50e15d","user":{"login":"jimlgx","id":1543562,"node_id":"MDQ6VXNlcjE1NDM1NjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1543562?v=4","gravatar_id":"","url":"https://api.github.com/users/jimlgx","html_url":"https://github.com/jimlgx","followers_url":"https://api.github.com/users/jimlgx/followers","following_url":"https://api.github.com/users/jimlgx/following{/other_user}","gists_url":"https://api.github.com/users/jimlgx/gists{/gist_id}","starred_url":"https://api.github.com/users/jimlgx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimlgx/subscriptions","organizations_url":"https://api.github.com/users/jimlgx/orgs","repos_url":"https://api.github.com/users/jimlgx/repos","events_url":"https://api.github.com/users/jimlgx/events{/privacy}","received_events_url":"https://api.github.com/users/jimlgx/received_events","type":"User","site_admin":false},"repo":{"id":148435439,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg0MzU0Mzk=","name":"spring-boot-issues","full_name":"jimlgx/spring-boot-issues","owner":{"login":"jimlgx","id":1543562,"node_id":"MDQ6VXNlcjE1NDM1NjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1543562?v=4","gravatar_id":"","url":"https://api.github.com/users/jimlgx","html_url":"https://github.com/jimlgx","followers_url":"https://api.github.com/users/jimlgx/followers","following_url":"https://api.github.com/users/jimlgx/following{/other_user}","gists_url":"https://api.github.com/users/jimlgx/gists{/gist_id}","starred_url":"https://api.github.com/users/jimlgx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimlgx/subscriptions","organizations_url":"https://api.github.com/users/jimlgx/orgs","repos_url":"https://api.github.com/users/jimlgx/repos","events_url":"https://api.github.com/users/jimlgx/events{/privacy}","received_events_url":"https://api.github.com/users/jimlgx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jimlgx/spring-boot-issues","description":"User-contributed projects reproducing issues logged against Spring Boot","fork":true,"url":"https://api.github.com/repos/jimlgx/spring-boot-issues","forks_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/forks","keys_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/teams","hooks_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/hooks","issue_events_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/issues/events{/number}","events_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/events","assignees_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/assignees{/user}","branches_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/branches{/branch}","tags_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/tags","blobs_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/git/refs{/sha}","trees_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/statuses/{sha}","languages_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/languages","stargazers_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/stargazers","contributors_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/contributors","subscribers_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/subscribers","subscription_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/subscription","commits_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/commits{/sha}","git_commits_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/git/commits{/sha}","comments_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/comments{/number}","issue_comment_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/issues/comments{/number}","contents_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/contents/{+path}","compare_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/merges","archive_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/downloads","issues_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/issues{/number}","pulls_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/pulls{/number}","milestones_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/milestones{/number}","notifications_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/labels{/name}","releases_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/releases{/id}","deployments_url":"https://api.github.com/repos/jimlgx/spring-boot-issues/deployments","created_at":"2018-09-12T06:52:31Z","updated_at":"2018-09-12T07:10:20Z","pushed_at":"2018-09-12T07:10:18Z","git_url":"git://github.com/jimlgx/spring-boot-issues.git","ssh_url":"git@github.com:jimlgx/spring-boot-issues.git","clone_url":"https://github.com/jimlgx/spring-boot-issues.git","svn_url":"https://github.com/jimlgx/spring-boot-issues","homepage":null,"size":2078,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spring-projects:master","ref":"master","sha":"ef0187aa9d36ef2c216c797f71428b7fd9232fa8","user":{"login":"spring-projects","id":317776,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzc3Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/317776?v=4","gravatar_id":"","url":"https://api.github.com/users/spring-projects","html_url":"https://github.com/spring-projects","followers_url":"https://api.github.com/users/spring-projects/followers","following_url":"https://api.github.com/users/spring-projects/following{/other_user}","gists_url":"https://api.github.com/users/spring-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-projects/subscriptions","organizations_url":"https://api.github.com/users/spring-projects/orgs","repos_url":"https://api.github.com/users/spring-projects/repos","events_url":"https://api.github.com/users/spring-projects/events{/privacy}","received_events_url":"https://api.github.com/users/spring-projects/received_events","type":"Organization","site_admin":false},"repo":{"id":19851176,"node_id":"MDEwOlJlcG9zaXRvcnkxOTg1MTE3Ng==","name":"spring-boot-issues","full_name":"spring-projects/spring-boot-issues","owner":{"login":"spring-projects","id":317776,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzc3Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/317776?v=4","gravatar_id":"","url":"https://api.github.com/users/spring-projects","html_url":"https://github.com/spring-projects","followers_url":"https://api.github.com/users/spring-projects/followers","following_url":"https://api.github.com/users/spring-projects/following{/other_user}","gists_url":"https://api.github.com/users/spring-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-projects/subscriptions","organizations_url":"https://api.github.com/users/spring-projects/orgs","repos_url":"https://api.github.com/users/spring-projects/repos","events_url":"https://api.github.com/users/spring-projects/events{/privacy}","received_events_url":"https://api.github.com/users/spring-projects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spring-projects/spring-boot-issues","description":"User-contributed projects reproducing issues logged against Spring Boot","fork":false,"url":"https://api.github.com/repos/spring-projects/spring-boot-issues","forks_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/forks","keys_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/teams","hooks_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/hooks","issue_events_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/issues/events{/number}","events_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/events","assignees_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/assignees{/user}","branches_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/branches{/branch}","tags_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/tags","blobs_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/git/refs{/sha}","trees_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/statuses/{sha}","languages_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/languages","stargazers_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/stargazers","contributors_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/contributors","subscribers_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/subscribers","subscription_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/subscription","commits_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/commits{/sha}","git_commits_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/git/commits{/sha}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/comments{/number}","issue_comment_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/issues/comments{/number}","contents_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/contents/{+path}","compare_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/merges","archive_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/downloads","issues_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/issues{/number}","pulls_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/pulls{/number}","milestones_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/milestones{/number}","notifications_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/labels{/name}","releases_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/releases{/id}","deployments_url":"https://api.github.com/repos/spring-projects/spring-boot-issues/deployments","created_at":"2014-05-16T09:24:25Z","updated_at":"2018-09-11T10:04:18Z","pushed_at":"2018-09-05T04:33:22Z","git_url":"git://github.com/spring-projects/spring-boot-issues.git","ssh_url":"git@github.com:spring-projects/spring-boot-issues.git","clone_url":"https://github.com/spring-projects/spring-boot-issues.git","svn_url":"https://github.com/spring-projects/spring-boot-issues","homepage":null,"size":2078,"stargazers_count":12,"watchers_count":12,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":80,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":80,"open_issues":10,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spring-projects/spring-boot-issues/pulls/82"},"html":{"href":"https://github.com/spring-projects/spring-boot-issues/pull/82"},"issue":{"href":"https://api.github.com/repos/spring-projects/spring-boot-issues/issues/82"},"comments":{"href":"https://api.github.com/repos/spring-projects/spring-boot-issues/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/spring-projects/spring-boot-issues/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/spring-projects/spring-boot-issues/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spring-projects/spring-boot-issues/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/spring-projects/spring-boot-issues/statuses/297a9d2e6d7b008e957b07117478a8016a50e15d"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":157,"deletions":0,"changed_files":5}}
{"actor":{"display_login":"jimlgx"}}