summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-09-14 20:05:27 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-09-14 20:05:27 (GMT)
commit2b630292e8e26e07a77e350024ba45c625f8dd95 (patch)
tree86ce156fee03120080146bf547c1fc31a9b4bcd6 /Swiften/Disco/UnitTest
parentef5a4dc3a5b0224628a225ef0dccc679287478be (diff)
downloadswift-contrib-2b630292e8e26e07a77e350024ba45c625f8dd95.zip
swift-contrib-2b630292e8e26e07a77e350024ba45c625f8dd95.tar.bz2
Print warning on non-validating hashes.
Diffstat (limited to 'Swiften/Disco/UnitTest')
-rw-r--r--Swiften/Disco/UnitTest/CapsManagerTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Disco/UnitTest/CapsManagerTest.cpp b/Swiften/Disco/UnitTest/CapsManagerTest.cpp
index 7925ae7..d5b9896 100644
--- a/Swiften/Disco/UnitTest/CapsManagerTest.cpp
+++ b/Swiften/Disco/UnitTest/CapsManagerTest.cpp
@@ -234,6 +234,7 @@ class CapsManagerTest : public CppUnit::TestFixture {
private:
std::auto_ptr<CapsManager> createManager() {
std::auto_ptr<CapsManager> manager(new CapsManager(storage, stanzaChannel, iqRouter));
+ manager->setWarnOnInvalidHash(false);
//manager->onCapsChanged.connect(boost::bind(&CapsManagerTest::handleCapsChanged, this, _1));
return manager;
}