mirror of https://github.com/apache/druid.git
Merge pull request #1010 from metamx/fixTestsModuleMissing
Added a few places where tests were using Object instead of Module
This commit is contained in:
commit
dec424b4af
|
@ -155,7 +155,7 @@ public class IndexerZkConfigTest
|
|||
{
|
||||
final Injector injector = Initialization.makeInjectorWithModules(
|
||||
GuiceInjectors.makeStartupInjector(),
|
||||
ImmutableList.<Object>of(simpleZkConfigModule)
|
||||
ImmutableList.<Module>of(simpleZkConfigModule)
|
||||
);
|
||||
JsonConfigurator configurator = injector.getBinding(JsonConfigurator.class).getProvider().get();
|
||||
|
||||
|
|
|
@ -136,7 +136,7 @@ public abstract class JsonConfigTesterBase<T>
|
|||
testProperties.putAll(propertyValues);
|
||||
injector = Initialization.makeInjectorWithModules(
|
||||
GuiceInjectors.makeStartupInjector(),
|
||||
ImmutableList.<Object>of(simpleJsonConfigModule)
|
||||
ImmutableList.<Module>of(simpleJsonConfigModule)
|
||||
);
|
||||
configurator = injector.getBinding(JsonConfigurator.class).getProvider().get();
|
||||
configProvider = JsonConfigProvider.of(configPrefix, clazz);
|
||||
|
|
Loading…
Reference in New Issue