diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-02-28 23:32:28 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-02-28 23:32:28 +0200 |
commit | 7590f33f9edd8f26ce38fcdd4f30fe8bcca975a9 (patch) | |
tree | f20d768137172e4753394761d05a05cc29d5b2ea /tests/unit_tests | |
parent | Merge pull request #229 (diff) | |
download | monero-7590f33f9edd8f26ce38fcdd4f30fe8bcca975a9.tar.xz |
move website and DNS unit tests from monero.cc to getmonero.org
Diffstat (limited to 'tests/unit_tests')
-rw-r--r-- | tests/unit_tests/address_from_url.cpp | 2 | ||||
-rw-r--r-- | tests/unit_tests/dns_resolver.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit_tests/address_from_url.cpp b/tests/unit_tests/address_from_url.cpp index cf6396e95..fe2f072de 100644 --- a/tests/unit_tests/address_from_url.cpp +++ b/tests/unit_tests/address_from_url.cpp @@ -86,7 +86,7 @@ TEST(AddressFromURL, Success) bool dnssec_result = false; - std::vector<std::string> addresses = tools::wallet2::addresses_from_url("donate.monero.cc", dnssec_result); + std::vector<std::string> addresses = tools::wallet2::addresses_from_url("donate.getmonero.org", dnssec_result); EXPECT_EQ(1, addresses.size()); if (addresses.size() == 1) diff --git a/tests/unit_tests/dns_resolver.cpp b/tests/unit_tests/dns_resolver.cpp index 49b31fe7a..680633778 100644 --- a/tests/unit_tests/dns_resolver.cpp +++ b/tests/unit_tests/dns_resolver.cpp @@ -108,12 +108,12 @@ TEST(DNSResolver, GetTXTRecord) { bool avail, valid; - std::vector<std::string> records = tools::DNSResolver::instance().get_txt_record("donate.monero.cc", avail, valid); + std::vector<std::string> records = tools::DNSResolver::instance().get_txt_record("donate.getmonero.org", avail, valid); EXPECT_NE(0, records.size()); for (auto& rec : records) { - std::cout << "TXT record for donate.monero.cc: " << rec << std::endl; + std::cout << "TXT record for donate.getmonero.org: " << rec << std::endl; } } |