From a851ca0f137acf3d215183861db91966101eb990 Mon Sep 17 00:00:00 2001 From: Renaud Barate Date: Thu, 20 Mar 2014 15:29:18 +0100 Subject: [PATCH] Fix bug in SALOMEDSTest_StudyManager --- src/SALOMEDS/Test/SALOMEDSTest_StudyManager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.39.2