Skip to content

Commit 3f781ec

Browse files
committed
test(cli): initialize battery widget status in api snapshot
1 parent e118159 commit 3f781ec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎crates/openlogi-cli/src/cmd/api/tests.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ fn snapshot() -> AgentSnapshot {
2727
agent_version: "test-agent".into(),
2828
input_monitoring_granted: true,
2929
hid_open_failures: false,
30+
battery_widget: openlogi_core::device::BatteryWidgetStatus::Disabled,
3031
},
3132
inventory: vec![DeviceInventory {
3233
receiver: ReceiverInfo {

0 commit comments

Comments
 (0)