Commit 37bf9cd0 authored by Srikanth Ravipati's avatar Srikanth Ravipati Committed by Peterson, Peter
Browse files

Adjusted necessary reflectometry tests as needed

parent 874f887f
......@@ -75,6 +75,17 @@ private:
}
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 ReflectometryReductionOneAuto2Test *createSuite() {
......
......@@ -64,6 +64,17 @@ private:
};
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 ReflectometryReductionOneAuto3Test *createSuite() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment