Fix startup conditions for Unload to FINDA state machine tests

pull/126/head
D.R.racer 2021-09-27 07:04:28 +02:00 committed by DRracer
parent 2ca951ceea
commit 1563559685
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,8 @@ TEST_CASE("unload_to_finda::regular_unload", "[unload_to_finda]") {
// we need finda ON
SetFINDAStateAndDebounce(true);
// and MMU "thinks" it has the filament loaded
mg::globals.SetFilamentLoaded(true);
logic::UnloadToFinda ff;
@ -75,6 +77,8 @@ TEST_CASE("unload_to_finda::unload_without_FINDA_trigger", "[unload_to_finda]")
// we need finda ON
SetFINDAStateAndDebounce(true);
// and MMU "thinks" it has the filament loaded
mg::globals.SetFilamentLoaded(true);
logic::UnloadToFinda ff;