From ee0a645525f4a23958abfa8de903cc1bd7083ee8 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