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
commitd8868fe2c5bcfa306c548006f3b157fb3320738e (patch)
treec4d1859960db0d645d6448d79a7674101fb8ebbb
parentActually run the send mail test case, but send the mail to noone@ (diff)
downloadgentoobrowse-api-d8868fe2c5bcfa306c548006f3b157fb3320738e.tar.bz2
gentoobrowse-api-d8868fe2c5bcfa306c548006f3b157fb3320738e.tar.xz
gentoobrowse-api-d8868fe2c5bcfa306c548006f3b157fb3320738e.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);
}
}