diff --git a/slsDetectorSoftware/tests/test-CmdProxy.cpp b/slsDetectorSoftware/tests/test-CmdProxy.cpp index de97d69d4..c1e101a95 100644 --- a/slsDetectorSoftware/tests/test-CmdProxy.cpp +++ b/slsDetectorSoftware/tests/test-CmdProxy.cpp @@ -1454,8 +1454,9 @@ TEST_CASE("currentsource", "[.cmd]") { } // jungfrau else { - auto chipVersion = det.getChipVersion().tsquash( - "inconsistent chip versions to test"); + int chipVersion = det.getChipVersion().tsquash( + "inconsistent chip versions to test") * + 10; if (chipVersion == 10) { REQUIRE_THROWS(proxy.Call("currentsource", {"1"}, -1, PUT)); REQUIRE_THROWS(