-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Closed
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: bugA general bugA general bug
Description
I'm currently using a RestTemplateCustomizer
bean to set a custom request factory for all RestTemplate's:
The TestRestTemplate
I get injected into my unit tests also uses this custom request factory, but calling withBasicAuth()
returns a new TestRestTemplate
-instance which no longer contains the custom request factory but a default one.
Environment:
Spring Boot 2.1.1.RELEASE
OpenJDK 11
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: bugA general bugA general bug