[mapguide-commits] r4287 - trunk/MgDev/Server/src/UnitTesting

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Oct 7 14:53:00 EDT 2009


Author: waltweltonlair
Date: 2009-10-07 14:53:00 -0400 (Wed, 07 Oct 2009)
New Revision: 4287

Modified:
   trunk/MgDev/Server/src/UnitTesting/TestFeatureService.cpp
Log:
Fix server unit test (TestFeatureService::TestCase_SetLongTransaction)


Modified: trunk/MgDev/Server/src/UnitTesting/TestFeatureService.cpp
===================================================================
--- trunk/MgDev/Server/src/UnitTesting/TestFeatureService.cpp	2009-10-06 20:37:14 UTC (rev 4286)
+++ trunk/MgDev/Server/src/UnitTesting/TestFeatureService.cpp	2009-10-07 18:53:00 UTC (rev 4287)
@@ -1407,6 +1407,7 @@
 
         // now set a session
         userInfo->SetMgSessionId(userInfo->CreateMgSessionId());
+        MgUserInformation::SetCurrentUserInfo(userInfo);
         CPPUNIT_ASSERT(pService->SetLongTransaction(resource, longTransactionName));
 
         // setting the same LT name twice shouldn't matter



More information about the mapguide-commits mailing list