fix generator test

This commit is contained in:
Jörg Prante 2023-05-17 11:26:16 +02:00
parent e0bb330844
commit f4ec0b1acb
2 changed files with 3 additions and 5 deletions

View file

@ -1,5 +1,5 @@
group = org.xbib
name = rpm
version = 2.2.0
version = 3.0.0
org.gradle.warning.mode = ALL

View file

@ -64,10 +64,8 @@ public class SignatureGeneratorTest {
@Test
public void testBuildWithSignature() throws Exception {
//String secRing = "src/test/resources/pgp/test-secring.gpg";
//String pass = "test";
String secRing = "/home/joerg/.gnupg/secring.gpg";
String pass = "jhbz2011";
String secRing = "src/test/resources/pgp/test-secring.gpg";
String pass = "test";
RpmBuilder rpmBuilder = new RpmBuilder();
rpmBuilder.setPackage("signing-test", "1.0", "3");
rpmBuilder.setBuildHost("localhost");