Move enablement of endpoints into AbstractEndpoint
This commit is contained in:
@@ -195,9 +195,9 @@ public class EndpointWebMvcAutoConfigurationTests {
|
||||
|
||||
@Bean
|
||||
public Endpoint<String> testEndpoint() {
|
||||
return new AbstractEndpoint<String>("/endpoint", false) {
|
||||
return new AbstractEndpoint<String>("/endpoint", false, true) {
|
||||
@Override
|
||||
public String invoke() {
|
||||
public String doInvoke() {
|
||||
return "endpointoutput";
|
||||
}
|
||||
};
|
||||
|
||||
@@ -105,7 +105,7 @@ public class EndpointHandlerMappingTests {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object invoke() {
|
||||
public Object doInvoke() {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user