qt-tests: Disable payment server test that moves 21M+1 coins.

This is not a testcase for Dogecoin. Like the other payment
server tests, this could be amended, or it can be depreciated,
depending on where we take payment protocol.
This commit is contained in:
Patrick Lodder 2020-07-20 19:27:27 +02:00
parent 7626b811a7
commit 7f5d1446d5
No known key found for this signature in database
GPG key ID: 2D3A345B98D0DC1F

View file

@ -191,6 +191,8 @@ void PaymentServerTests::paymentServerTests()
QCOMPARE(PaymentServer::verifySize(tempFile.size()), false);
// Payment request with amount overflow (amount is set to 21000001 BTC):
/* PL: This doesn't work for Dogecoin (as there is no actual maximum coins)
* I'm disabling this test for now.
data = DecodeBase64(paymentrequest5_cert2_BASE64);
byteArray = QByteArray((const char*)&data[0], data.size());
r.paymentRequest.parse(byteArray);
@ -203,6 +205,7 @@ void PaymentServerTests::paymentServerTests()
if (ExtractDestination(sendingTo.first, dest))
QCOMPARE(PaymentServer::verifyAmount(sendingTo.second), false);
}
*/
delete server;
}