diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-01 15:52:17 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-01 18:41:39 +0000 |
commit | 1c44e65863ddd4919a53a8605add96b96104e2ff (patch) | |
tree | 484093cbef1c928e793ad02c5c4ba531fc947a24 /tests/unit_tests/uri.cpp | |
parent | Merge pull request #5486 (diff) | |
download | monero-1c44e65863ddd4919a53a8605add96b96104e2ff.tar.xz |
wallet2: reject standalone short payment IDs in monero: URI API
Diffstat (limited to '')
-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) |