diff --git a/slsDetectorSoftware/tests/test-CmdProxy.cpp b/slsDetectorSoftware/tests/test-CmdProxy.cpp index 0820bf902..2806f3b91 100644 --- a/slsDetectorSoftware/tests/test-CmdProxy.cpp +++ b/slsDetectorSoftware/tests/test-CmdProxy.cpp @@ -1564,7 +1564,7 @@ TEST_CASE("readnrows", "[.cmd]") { 0x20000)) { jungfrauhw2 = true; } - if (jungfrauhw2) { + if (!jungfrauhw2) { { std::ostringstream oss; proxy.Call("readnrows", {}, -1, GET, oss);