mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-16 10:55:01 -04:00
signature sit: don't fail test when can not load private key
This commit is contained in:
parent
5ba3f5ef9a
commit
bbd623ea5f
@ -33,10 +33,12 @@ class SignatureSIT {
|
||||
SignatureTestUtil.key = Jackson.MAPPER.readValue(string, MinecraftPrivateKey::class.java)
|
||||
}
|
||||
|
||||
@Test(dependsOnMethods = ["loadPrivateKey"])
|
||||
fun testKeyUUID() {
|
||||
SignatureTestUtil.key.requireSignature("9e6ce7c5-40d3-483e-8e5a-b6350987d65f".toUUID()) // yep, that is really my private key
|
||||
}
|
||||
|
||||
@Test(dependsOnMethods = ["loadPrivateKey"])
|
||||
fun testRequireSignature() {
|
||||
Assert.assertThrows { SignatureTestUtil.key.requireSignature("b876ec32-e396-476b-a115-8438d83c67d4".toUUID()) }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user