diff --git a/Tests/Functional/Fitting/FittingTests.cpp b/Tests/Functional/Fitting/FittingTests.cpp
index d374647dd6b3ca88183cc0d32ecfa034d94a5ef7..fbe027a513e195dfbbe3d575c999f7c48b42e222 100644
--- a/Tests/Functional/Fitting/FittingTests.cpp
+++ b/Tests/Functional/Fitting/FittingTests.cpp
@@ -71,7 +71,7 @@ const auto build_CylBA_Masked =
     [](const mumufit::Parameters& params) -> std::unique_ptr<ISimulation> {
     Beam beam(Beam(1, 1.0 * Units::angstrom, 0.2 * deg));
 
-    Detector2D detector(2.4 * deg, 2 * deg, 20, 18, 0, 0);
+    Detector2D detector(20, -1.2 * deg, 1.2 * deg, 18, -1 * deg, 1 * deg);
     // TODO restore detector.setRegionOfInterest(5.0, 6.0, 15.0, 12.0);
     detector.addMask(Rectangle(0.0, 0.0, 2.0, 2.0), true);