Merge pull request #1341 from patricklodder/1.10.1-payproto-tests

Revert "Disable payment protocol certificate unit tests"
This commit is contained in:
Max K 2016-03-21 20:52:15 +01:00
commit 5128e57cf3

View file

@ -79,8 +79,6 @@ void PaymentServerTests::paymentServerTests()
// Now feed PaymentRequests to server, and observe signals it produces
/* Disable certificate tests as we don't touch this code, and building test
data would take significant effort. Also pending discussion on spec
// This payment request validates directly against the
// caCert1 certificate authority:
data = DecodeBase64(paymentrequest1_cert1_BASE64);
@ -104,7 +102,7 @@ void PaymentServerTests::paymentServerTests()
data = DecodeBase64(paymentrequest4_cert1_BASE64);
r = handleRequest(server, data);
r.paymentRequest.getMerchant(caStore, merchant);
QCOMPARE(merchant, QString("")); */
QCOMPARE(merchant, QString(""));
// Validly signed, but by a CA not in our root CA list:
data = DecodeBase64(paymentrequest5_cert1_BASE64);