Updates tests to ignore registering beans
@@ -90,6 +90,16 @@ public class ConsulConfigDataLocationResolverTests {
private ConsulConfigDataLocationResolver createResolver() {
ConsulConfigDataLocationResolver resolver = new ConsulConfigDataLocationResolver() {
+ @Override
+ public <T> void registerBean(ConfigDataLocationResolverContext context, Class<T> type, T instance) {
+
+ }
+
+ @Override
+ protected <T> void registerBean(ConfigDataLocationResolverContext context, Class<T> type, Supplier<T> supplier) {
+
+ }
+
@Override
protected <T> void registerAndPromoteBean(ConfigDataLocationResolverContext context, Class<T> type,
Supplier<T> supplier) {
