]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix bug in SALOMEDSTest_StudyManager
authorRenaud Barate <renaud.barate@edf.fr>
Thu, 20 Mar 2014 14:29:18 +0000 (15:29 +0100)
committerRenaud Barate <renaud.barate@edf.fr>
Thu, 20 Mar 2014 14:29:18 +0000 (15:29 +0100)
src/SALOMEDS/Test/SALOMEDSTest_StudyManager.cxx

index 334d7b2704306ec19fe8ee828cda2e8ba7e59c53..094b2ca646d8ee87b26dab9ccd13fc7c005dbe6a 100755 (executable)
@@ -99,7 +99,7 @@ void SALOMEDSTest::testStudyManager()
   //Check method Open
   _PTR(Study) study1_opened = sm->Open("srn_UnitTest_Save.hdf");  //Contains Test component
   system("rm -f srn_UnitTest_Save.hdf");
-  url = study1->URL();
+  url = study1_opened->URL();
   CPPUNIT_ASSERT(study1_opened);
   CPPUNIT_ASSERT(url == "srn_UnitTest_Save.hdf");