summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-12-23 16:22:23 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2016-12-27 17:16:15 +0000
commitee0a645525f4a23958abfa8de903cc1bd7083ee8 (patch)
tree5c3263a68b83299c704b672d0510bee6907e1d4d
parentWrite email payloads to bin dir and validate HTML with tidy (diff)
downloadgentoobrowse-api-ee0a645525f4a23958abfa8de903cc1bd7083ee8.tar.bz2
gentoobrowse-api-ee0a645525f4a23958abfa8de903cc1bd7083ee8.tar.xz
gentoobrowse-api-ee0a645525f4a23958abfa8de903cc1bd7083ee8.zip
Actually run the send mail test case, but send the mail to noone@
-rw-r--r--gentoobrowse-api/unittests/testNotifications.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gentoobrowse-api/unittests/testNotifications.cpp b/gentoobrowse-api/unittests/testNotifications.cpp
index 45feb1a..104254e 100644
--- a/gentoobrowse-api/unittests/testNotifications.cpp
+++ b/gentoobrowse-api/unittests/testNotifications.cpp
@@ -39,15 +39,13 @@ commonAssert(Gentoo::EmailPtr e)
BOOST_REQUIRE(isHtml(e->body[1]->payload));
}
-#if 0
BOOST_AUTO_TEST_CASE( testSend )
{
- Gentoo::NewUserPtr u = new Gentoo::NewUser(1, "testuser", "Test User", "dangoodliffe@gmail.com", "some-guid");
+ Gentoo::NewUserPtr u = new Gentoo::NewUser(1, "testuser", "Test User", "noone@randomdan.homeip.net", "some-guid");
auto e = n->getSignup(u);
BOOST_REQUIRE(e);
ms->sendEmail(e);
}
-#endif
BOOST_AUTO_TEST_CASE( testSignup )
{