From c72693bc53fe1f0a97ebb654a5ecde9d15733025 Mon Sep 17 00:00:00 2001 From: "Luke D. Jones" Date: Sun, 17 Jul 2022 22:02:01 +1200 Subject: [PATCH] Fix test for CI --- daemon/src/ctrl_aura/controller.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/daemon/src/ctrl_aura/controller.rs b/daemon/src/ctrl_aura/controller.rs index b2dbdc9b..0c3a1098 100644 --- a/daemon/src/ctrl_aura/controller.rs +++ b/daemon/src/ctrl_aura/controller.rs @@ -459,6 +459,7 @@ mod tests { use super::CtrlKbdLed; #[test] + // #[ignore = "Must be manually run due to detection stage"] fn check_set_mode_errors() { // Checking to ensure set_mode errors when unsupported modes are tried let config = AuraConfig::default(); @@ -469,7 +470,13 @@ mod tests { multizone: vec![], per_key: false, }; - let mut controller = CtrlKbdLed::new(supported_modes, config).unwrap(); + let mut controller = CtrlKbdLed { + led_node: None, + bright_node: String::new(), + supported_modes, + flip_effect_write: false, + config, + }; let mut effect = AuraEffect::default(); effect.colour1 = Colour(0xff, 0x00, 0xff);