Changeset - bb05df65b02e
[Not reviewed]
0 2 0
HanzZ - 13 years ago 2013-01-12 19:02:20
hanzz.k@gmail.com
fix crash in disconnectUserBouncer test
2 files changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/tests/usermanager.cpp
Show inline comments
 
@@ -217,7 +217,6 @@ class UserManagerTest : public CPPUNIT_NS :: TestFixture, public BasicTest {
 

	
 
		CPPUNIT_ASSERT_EQUAL(1, userManager->getUserCount());
 
		CPPUNIT_ASSERT_EQUAL(0, (int) received.size());
 
		CPPUNIT_ASSERT(dynamic_cast<Swift::Presence *>(getStanza(received[0])));
 
		CPPUNIT_ASSERT(userManager->getUser("user@localhost"));
 

	
 
		userManager->removeAllUsers();
src/userregistration.cpp
Show inline comments
 
@@ -509,6 +509,7 @@ bool UserRegistration::handleSetRequest(const Swift::JID& from, const Swift::JID
 
		res.language = language;
 
		res.encoding = encoding;
 
		res.vip = 0;
 
		res.id = 0;
 
		registerUser(res);
 
	}
 
	else {
0 comments (0 inline, 0 general)