diff --git a/slsDetectorSoftware/tests/test-CmdProxy.cpp b/slsDetectorSoftware/tests/test-CmdProxy.cpp index 49f923ad1..62436ca42 100644 --- a/slsDetectorSoftware/tests/test-CmdProxy.cpp +++ b/slsDetectorSoftware/tests/test-CmdProxy.cpp @@ -1564,7 +1564,7 @@ TEST_CASE("readnrows", "[.cmd]") { 0x30000) == 0x30000)) { jungfrauhw2 = true; } - if (!jungfrauhw2) { + if (det_type == defs::JUNGFRAU && !jungfrauhw2) { { std::ostringstream oss; proxy.Call("readnrows", {}, -1, GET, oss);