Fix Multiverse dependency + fix invalid test in Eclipse

This commit is contained in:
Gabriele C 2016-05-14 00:01:26 +02:00
parent 05f0162a16
commit c748501345
4 changed files with 4 additions and 5 deletions

View File

@ -330,7 +330,7 @@
<!-- Multiverse Repo -->
<repository>
<id>onarandombox</id>
<url>https://repo.onarandombox.com/content/groups/public</url>
<url>http://repo.onarandombox.com/content/groups/public</url>
</repository>
<!-- Vault Repo -->
@ -612,7 +612,7 @@
<dependency>
<groupId>com.onarandombox.multiversecore</groupId>
<artifactId>Multiverse-Core</artifactId>
<version>2.5</version>
<version>2.5.0-SNAPSHOT</version>
<type>jar</type>
<scope>provided</scope>
<exclusions>

View File

@ -21,6 +21,7 @@ import static org.junit.Assert.assertThat;
*/
public class ConstructorInjectionTest {
@SuppressWarnings("unchecked")
@Test
public void shouldReturnDependencies() {
// given

View File

@ -127,7 +127,5 @@ public class FieldInjectionTest {
private static class NoInjectionClass {
private BetaManager betaManager;
}
}

View File

@ -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));
}
}