From: Renaud Barate Date: Thu, 20 Mar 2014 14:29:18 +0000 (+0100) Subject: Fix bug in SALOMEDSTest_StudyManager X-Git-Tag: V7_4_0a1~3^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a851ca0f137acf3d215183861db91966101eb990;p=modules%2Fkernel.git Fix bug in SALOMEDSTest_StudyManager --- diff --git a/src/SALOMEDS/Test/SALOMEDSTest_StudyManager.cxx b/src/SALOMEDS/Test/SALOMEDSTest_StudyManager.cxx index 334d7b270..094b2ca64 100755 --- a/src/SALOMEDS/Test/SALOMEDSTest_StudyManager.cxx +++ b/src/SALOMEDS/Test/SALOMEDSTest_StudyManager.cxx @@ -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");