summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/unittests/testUsers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse-api/unittests/testUsers.cpp')
-rw-r--r--gentoobrowse-api/unittests/testUsers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/unittests/testUsers.cpp b/gentoobrowse-api/unittests/testUsers.cpp
index 0f5ee9c..4af063b 100644
--- a/gentoobrowse-api/unittests/testUsers.cpp
+++ b/gentoobrowse-api/unittests/testUsers.cpp
@@ -116,7 +116,7 @@ BOOST_AUTO_TEST_CASE(createAgain)
* * resend verification
*/
auto user = u->create("testuser", "testpass", "Test User", "recreate@user.com");
- BOOST_REQUIRE_EQUAL(2, mms->getSentEmails().size());
+ BOOST_REQUIRE_EQUAL(1, mms->getSentEmails().size());
BOOST_REQUIRE_EQUAL("Gentoo Browse: Welcome", mms->getSentEmails()[0]->subject);
BOOST_REQUIRE_EQUAL("test@user.com", mms->getSentEmails()[0]->to.address);
BOOST_REQUIRE_EQUAL(4, user->userid);