From 92c767859f791fcdef4256ee63e02a5a7614cec3 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 31 Jan 2022 11:24:48 +0100 Subject: [PATCH] fixed tests for next frame number for ctb and moench --- slsDetectorSoftware/tests/test-CmdProxy.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slsDetectorSoftware/tests/test-CmdProxy.cpp b/slsDetectorSoftware/tests/test-CmdProxy.cpp index 62436ca42..4a593eb95 100644 --- a/slsDetectorSoftware/tests/test-CmdProxy.cpp +++ b/slsDetectorSoftware/tests/test-CmdProxy.cpp @@ -2107,7 +2107,8 @@ TEST_CASE("nextframenumber", "[.cmd]") { Detector det; CmdProxy proxy(&det); auto det_type = det.getDetectorType().squash(); - if (det_type == defs::EIGER || det_type == defs::JUNGFRAU) { + if (det_type == defs::EIGER || det_type == defs::JUNGFRAU || + det_type == defs::MOENCH || det_type == defs::CHIPTESTBOARD) { auto prev_sfnum = det.getNextFrameNumber(); REQUIRE_THROWS(proxy.Call("nextframenumber", {"0"}, -1, PUT)); {