Fix Multiverse dependency + fix invalid test in Eclipse
This commit is contained in:
parent
05f0162a16
commit
c748501345
4
pom.xml
4
pom.xml
@ -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>
|
||||
|
||||
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user