aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2015-03-24 02:46:48 -0400
committerThomas Winget <tewinget@gmail.com>2015-03-24 02:47:15 -0400
commit8855a32044f53c5aa39feac305cd357a39f90d90 (patch)
treefac6db80df678edd802e189f6dddb6dcc290c18b /tests
parentFixed bug in static linking boost on MINGW (diff)
parentMerge pull request #238 (diff)
downloadmonero-8855a32044f53c5aa39feac305cd357a39f90d90.tar.xz
Merge upstream to daemonize changes
Preparation for PR
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/address_from_url.cpp2
-rw-r--r--tests/unit_tests/dns_resolver.cpp4
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;
}
}