From efeccd8e746081aa1988645429c886271f63c5d7 Mon Sep 17 00:00:00 2001 From: Kai Bao Date: Wed, 6 Dec 2017 09:29:53 +0100 Subject: [PATCH] fixing a test related to history mode. --- tests/test_wellsmanager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_wellsmanager.cpp b/tests/test_wellsmanager.cpp index 2f278ddb4..d5623fbfd 100644 --- a/tests/test_wellsmanager.cpp +++ b/tests/test_wellsmanager.cpp @@ -172,7 +172,8 @@ void check_controls_epoch3(struct WellControls ** ctrls) { // The new producer const struct WellControls * ctrls1 = ctrls[1]; // Note: controls include default (1 atm) BHP control. - BOOST_CHECK_EQUAL(6, well_controls_get_num(ctrls1)); + // and also an ORAT control + BOOST_CHECK_EQUAL(2, well_controls_get_num(ctrls1)); } BOOST_AUTO_TEST_CASE(New_Constructor_Works) {