From f0a0243233c0a8a396cd0f61f17fd0fc77bf13ca Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Wed, 11 Aug 2021 11:12:28 +0200 Subject: [PATCH] fixed tests --- slsDetectorSoftware/tests/test-CmdProxy.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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(