summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-12-23 16:22:53 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2016-12-27 17:16:15 +0000
commitc10abe64dae56bc47e090ff23b567adec3d456bc (patch)
treec4d1859960db0d645d6448d79a7674101fb8ebbb
parentActually run the send mail test case, but send the mail to noone@ (diff)
downloadgentoobrowse-api-c10abe64dae56bc47e090ff23b567adec3d456bc.tar.bz2
gentoobrowse-api-c10abe64dae56bc47e090ff23b567adec3d456bc.tar.xz
gentoobrowse-api-c10abe64dae56bc47e090ff23b567adec3d456bc.zip
Restore commented out assertions
-rw-r--r--gentoobrowse-api/unittests/testNotifications.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gentoobrowse-api/unittests/testNotifications.cpp b/gentoobrowse-api/unittests/testNotifications.cpp
index 104254e..5596e62 100644
--- a/gentoobrowse-api/unittests/testNotifications.cpp
+++ b/gentoobrowse-api/unittests/testNotifications.cpp
@@ -96,8 +96,8 @@ BOOST_AUTO_TEST_CASE( testNews )
save("news", e);
for (auto p : e->body) {
BOOST_REQUIRE(p->payload.find("Latest news") != std::string::npos);
- // BOOST_REQUIRE(p->payload.find("http://gentoobrowse.randomdan.homeip.net/packages/app-test") != std::string::npos);
- // BOOST_REQUIRE(p->payload.find("http://gentoobrowse.randomdan.homeip.net/packages/app-test/app") != std::string::npos);
+ BOOST_REQUIRE(p->payload.find("http://gentoobrowse.randomdan.homeip.net/packages/app-test") != std::string::npos);
+ BOOST_REQUIRE(p->payload.find("http://gentoobrowse.randomdan.homeip.net/packages/app-test/app") != std::string::npos);
BOOST_REQUIRE(p->payload.find("no-show") == std::string::npos);
}
}