Skip to content
Snippets Groups Projects
Commit 4d65b4c2 authored by Srikanth Ravipati's avatar Srikanth Ravipati Committed by Peterson, Peter
Browse files

Set and unset ISIS facility

parent 4a492a05
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,19 @@ using testing::ReturnRef;
//=====================================================================================
class RunsPresenterTest : public CxxTest::TestSuite {
public:
void setUp() override {
Mantid::Kernel::ConfigService::Instance().setString("default.facility", "ISIS");
}
void tearDown() override {
Mantid::Kernel::ConfigService::Instance().setString("default.facility", "NONE");
}
// This pair of boilerplate methods prevent the suite being created statically
// This means the constructor isn't called when running other tests
static RunsPresenterTest *createSuite() { return new RunsPresenterTest(); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment