From e7ea614607af037b005d44875617b056f8f6600a Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Sun, 14 May 2023 22:27:47 +0100 Subject: [PATCH] Fixed CI --- common/systems/tests/character_state.rs | 5 +++-- common/systems/tests/phys/basic.rs | 4 +++- common/systems/tests/phys/utils.rs | 4 +++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/common/systems/tests/character_state.rs b/common/systems/tests/character_state.rs index d7a9a70558..27a785cd84 100644 --- a/common/systems/tests/character_state.rs +++ b/common/systems/tests/character_state.rs @@ -83,8 +83,9 @@ mod tests { }, false, None, - // Dummy ServerConstants - &ServerConstants::default(), + &ServerConstants { + day_cycle_coefficient: 24.0, + }, |_, _| {}, ); } diff --git a/common/systems/tests/phys/basic.rs b/common/systems/tests/phys/basic.rs index dba3fee9d0..53d5c97a5e 100644 --- a/common/systems/tests/phys/basic.rs +++ b/common/systems/tests/phys/basic.rs @@ -18,7 +18,9 @@ fn simple_run() { }, false, None, - &ServerConstants::default(), + &ServerConstants { + day_cycle_coefficient: 24.0, + }, |_, _| {}, ); } diff --git a/common/systems/tests/phys/utils.rs b/common/systems/tests/phys/utils.rs index bd2b2504c1..071e6e8761 100644 --- a/common/systems/tests/phys/utils.rs +++ b/common/systems/tests/phys/utils.rs @@ -65,7 +65,9 @@ pub fn tick(state: &mut State, dt: Duration) { }, false, None, - &ServerConstants::default(), + &ServerConstants { + day_cycle_coefficient: 24.0, + }, |_, _| {}, ); }