Fix Multiverse dependency + fix invalid test in Eclipse
This commit is contained in:
@@ -21,6 +21,7 @@ import static org.junit.Assert.assertThat;
|
||||
*/
|
||||
public class ConstructorInjectionTest {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Test
|
||||
public void shouldReturnDependencies() {
|
||||
// given
|
||||
|
||||
@@ -127,7 +127,5 @@ public class FieldInjectionTest {
|
||||
|
||||
private static class NoInjectionClass {
|
||||
|
||||
private BetaManager betaManager;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ public class ConfigFileConsistencyTest {
|
||||
// when / then
|
||||
for (Property<?> property : propertyMap.keySet()) {
|
||||
assertThat("Default value of '" + property.getPath() + "' in config.yml should be the same as in Property",
|
||||
property.getFromFile(configuration), equalTo(property.getDefaultValue()));
|
||||
property.getFromFile(configuration).equals(property.getDefaultValue()), equalTo(true));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user