From 26530e27eabda68d75f1ceeab027e6f1f34371da Mon Sep 17 00:00:00 2001 From: James Turner Date: Fri, 21 Jul 2023 16:25:37 +0100 Subject: [PATCH] Fix DME unit-test: set correct power supply --- test_suite/unit_tests/Instrumentation/test_dme.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_suite/unit_tests/Instrumentation/test_dme.cxx b/test_suite/unit_tests/Instrumentation/test_dme.cxx index 1524363b0..d8eccbdc8 100644 --- a/test_suite/unit_tests/Instrumentation/test_dme.cxx +++ b/test_suite/unit_tests/Instrumentation/test_dme.cxx @@ -68,7 +68,7 @@ void DMEReceiverTests::testBasic() SGPropertyNode_ptr node = globals->get_props()->getNode("instrumentation/dmetest[2]"); node->setBoolValue("serviceable", true); - fgSetDouble("systems/electrical/outputs/dme", 12.0); + fgSetDouble("systems/electrical/outputs/dme[2]", 12.0); setPositionAndStabilise(r.get(), arlanda->geod());