PaymentSessionTest: Ignore test that has a hardcoded expiration date.

This commit is contained in:
Andreas Schildbach
2018-02-28 01:34:47 +01:00
parent 8087554b18
commit 07e3f55b7d

View File

@@ -25,6 +25,7 @@ import com.google.common.util.concurrent.ListenableFuture;
import com.google.protobuf.ByteString; import com.google.protobuf.ByteString;
import org.bitcoin.protocols.payments.Protos; import org.bitcoin.protocols.payments.Protos;
import org.junit.Before; import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import java.io.InputStream; import java.io.InputStream;
@@ -122,6 +123,7 @@ public class PaymentSessionTest {
} }
@Test @Test
@Ignore("certificate expired")
public void testPkiVerification() throws Exception { public void testPkiVerification() throws Exception {
InputStream in = getClass().getResourceAsStream("pki_test.bitcoinpaymentrequest"); InputStream in = getClass().getResourceAsStream("pki_test.bitcoinpaymentrequest");
Protos.PaymentRequest paymentRequest = Protos.PaymentRequest.newBuilder().mergeFrom(in).build(); Protos.PaymentRequest paymentRequest = Protos.PaymentRequest.newBuilder().mergeFrom(in).build();