[mapguide-commits] r4288 - sandbox/adsk/2.1/Server/src/UnitTesting

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Oct 7 15:08:20 EDT 2009


Author: brucedechant
Date: 2009-10-07 15:08:19 -0400 (Wed, 07 Oct 2009)
New Revision: 4288

Modified:
   sandbox/adsk/2.1/Server/src/UnitTesting/TestFeatureService.cpp
Log:
Fix server unit test (TestFeatureService::TestCase_SetLongTransaction)

Modified: sandbox/adsk/2.1/Server/src/UnitTesting/TestFeatureService.cpp
===================================================================
--- sandbox/adsk/2.1/Server/src/UnitTesting/TestFeatureService.cpp	2009-10-07 18:53:00 UTC (rev 4287)
+++ sandbox/adsk/2.1/Server/src/UnitTesting/TestFeatureService.cpp	2009-10-07 19:08:19 UTC (rev 4288)
@@ -1108,6 +1108,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