From 9733e5a8aad0ded73091600bb5d389f543d2e77c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 23 Dec 2016 16:22:23 +0000 Subject: Actually run the send mail test case, but send the mail to noone@ --- gentoobrowse-api/unittests/testNotifications.cpp | 4 +--- 1 file changed, 1 insertion(+), 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 ) { -- cgit v1.2.3