diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-05-07 17:35:27 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-05-07 17:35:28 +0200 |
commit | 97cb1c9436ec0e9f7f1468703a51596a2b8e3833 (patch) | |
tree | 8d4fd1c6741384e34bde215a93dc24b66b428b7a /tests/unit_tests | |
parent | Merge pull request #5505 (diff) | |
parent | wallet2: reject standalone short payment IDs in monero: URI API (diff) | |
download | monero-97cb1c9436ec0e9f7f1468703a51596a2b8e3833.tar.xz |
Merge pull request #5508
1c44e658 wallet2: reject standalone short payment IDs in monero: URI API (moneromooo-monero)
Diffstat (limited to 'tests/unit_tests')
-rw-r--r-- | tests/unit_tests/uri.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/unit_tests/uri.cpp b/tests/unit_tests/uri.cpp index df1dbc130..04d935751 100644 --- a/tests/unit_tests/uri.cpp +++ b/tests/unit_tests/uri.cpp @@ -144,9 +144,7 @@ TEST(uri, bad_payment_id) TEST(uri, short_payment_id) { - PARSE_URI("monero:" TEST_ADDRESS"?tx_payment_id=1234567890123456", true); - ASSERT_EQ(address, TEST_ADDRESS); - ASSERT_EQ(payment_id, "1234567890123456"); + PARSE_URI("monero:" TEST_ADDRESS"?tx_payment_id=1234567890123456", false); } TEST(uri, long_payment_id) |