Fix startup conditions for Unload to FINDA state machine tests

pull/122/head
D.R.racer 2021-09-27 07:04:28 +02:00
parent d9fba89822
commit 0bc4a12abb
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;