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
commit9733e5a8aad0ded73091600bb5d389f543d2e77c (patch)
tree5c3263a68b83299c704b672d0510bee6907e1d4d
parentWrite email payloads to bin dir and validate HTML with tidy (diff)
downloadgentoobrowse-api-9733e5a8aad0ded73091600bb5d389f543d2e77c.tar.bz2
gentoobrowse-api-9733e5a8aad0ded73091600bb5d389f543d2e77c.tar.xz
gentoobrowse-api-9733e5a8aad0ded73091600bb5d389f543d2e77c.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 )
{