diff --git a/unit_tests/tests/test_startOfCrankingPrimingPulse.cpp b/unit_tests/tests/test_startOfCrankingPrimingPulse.cpp index 02a3bfd519..4d0ac9fa4b 100644 --- a/unit_tests/tests/test_startOfCrankingPrimingPulse.cpp +++ b/unit_tests/tests/test_startOfCrankingPrimingPulse.cpp @@ -54,10 +54,6 @@ void testStartOfCrankingPrimingPulse() { // we need below freezing temperature to get prime fuel // todo: less cruel CLT value assignment which would survive 'updateSlowSensors' engine->sensors.clt = -10; - // this is needed to update injectorLag -// engine->updateSlowSensors(PASS_ENGINE_PARAMETER_SIGNATURE); -// assertEqualsM("CLT#2", -10, engine->sensors.clt); - // prod code invokes this on ECU start, here we have to mimic this behavior startPrimeInjectionPulse(PASS_ENGINE_PARAMETER_SIGNATURE); diff --git a/unit_tests/tests/test_trigger_decoder.cpp b/unit_tests/tests/test_trigger_decoder.cpp index a566483b0f..7cc941b4e5 100644 --- a/unit_tests/tests/test_trigger_decoder.cpp +++ b/unit_tests/tests/test_trigger_decoder.cpp @@ -163,9 +163,6 @@ void test1995FordInline6TriggerDecoder(void) { assertEqualsM("triggerShapeSynchPointIndex", 0, shape->getTriggerShapeSynchPointIndex()); - // this is needed to have valid CLT and IAT. todo: extract method - engine->updateSlowSensors(PASS_ENGINE_PARAMETER_SIGNATURE); - event_trigger_position_s position; assertEqualsM("globalTriggerAngleOffset", 0, engineConfiguration->globalTriggerAngleOffset); TRIGGER_SHAPE(findTriggerPosition(&position, 0, engineConfiguration->globalTriggerAngleOffset)); diff --git a/unit_tests/tests/test_trigger_noiseless.cpp b/unit_tests/tests/test_trigger_noiseless.cpp index 9e738a678a..3252a9dc2d 100644 --- a/unit_tests/tests/test_trigger_noiseless.cpp +++ b/unit_tests/tests/test_trigger_noiseless.cpp @@ -184,7 +184,6 @@ void testNoiselessDecoder(void) { engineConfiguration->trigger.type = TT_TOOTHED_WHEEL_60_2; incrementGlobalConfigurationVersion(PASS_ENGINE_PARAMETER_SIGNATURE); eth.applyTriggerShape(); - engine->updateSlowSensors(PASS_ENGINE_PARAMETER_SIGNATURE); assertEquals(0, engine->triggerCentral.triggerState.totalTriggerErrorCounter); assertEqualsM("testNoiselessDecoder RPM", 0, eth.engine.rpmCalculator.getRpm(PASS_ENGINE_PARAMETER_SIGNATURE));