Remove last test and various changes
This commit is contained in:
parent
24ed74446b
commit
176fde313e
@ -194,7 +194,7 @@ public class JailManager {
|
||||
* @return True if a valid jail was found, false if no jail was found.
|
||||
*/
|
||||
public boolean isValidJail(String name) {
|
||||
return this.jails.get(name.toLowerCase()) != null;
|
||||
return this.jails.containsKey(name.toLowerCase());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -47,11 +47,6 @@ public class TestJailAPI {
|
||||
main = null;
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testBuildNumber() {
|
||||
assertSame("The build version from the api was not 0.", 0, JailsAPI.getBuildNumber());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testManagersAreThere() {
|
||||
assertNotNull(main.getHandCuffManager());
|
||||
|
Loading…
Reference in New Issue
Block a user