Skip to content

Commit

Permalink
refs #6841 as MDEvent test helper has experiment info now,
Browse files Browse the repository at this point in the history
FakeMDTest can not add one. Hopefully fixed.
  • Loading branch information
abuts committed Apr 8, 2013
1 parent 88a07e8 commit 7d3bd8e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ class FakeMDEventDataTest : public CxxTest::TestSuite
auto inWS = MDEventsTestHelper::makeAnyMDEW<MDEvent<3>,3>(10, 0.0, 10.0, 0);
// Give it an instrument
Instrument_sptr inst = ComponentCreationHelper::createTestInstrumentRectangular2(1, 16);
ExperimentInfo_sptr ei(new ExperimentInfo());
//ExperimentInfo_sptr ei(new ExperimentInfo());
ExperimentInfo_sptr ei = inWS->getExperimentInfo(0);
ei->setInstrument(inst);
// Give it a run number
ei->mutableRun().addProperty(new PropertyWithValue<std::string>("run_number", "12345"), true);
Expand Down

0 comments on commit 7d3bd8e

Please sign in to comment.