remove security exception check from test

This commit is contained in:
derklaro 2022-07-26 13:25:24 +02:00
parent fd4b341a59
commit 04620e1014
No known key found for this signature in database
GPG Key ID: FEB0E33393FE6B91
1 changed files with 1 additions and 6 deletions

View File

@ -47,12 +47,7 @@ public class WrappedServerPingTest {
CompressedImage copy = CompressedImage.fromBase64Png(Base64Coder.encodeLines(tux.getData()));
assertArrayEquals(copy.getData(), serverPing.getFavicon().getData());
} catch (Throwable ex) {
if (ex.getCause() instanceof SecurityException) {
// There was a global package seal for a while, but not anymore
System.err.println("Encountered a SecurityException, update your Spigot jar!");
} else {
fail("Encountered an exception testing ServerPing", ex);
}
fail("Encountered an exception testing ServerPing", ex);
}
}
}