aboutsummaryrefslogtreecommitdiff
path: root/server/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main.rs')
-rw-r--r--server/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/main.rs b/server/src/main.rs
index b72a961b..23c14e60 100644
--- a/server/src/main.rs
+++ b/server/src/main.rs
@@ -300,7 +300,7 @@ async fn run(args: Args) -> anyhow::Result<()> {
#[cfg(test)]
mod test {
- use hurrycurry_protocol::{PacketS, PlayerID};
+ use hurrycurry_protocol::{PacketS, PlayerClass, PlayerID};
use hurrycurry_server::{data::DATA_DIR, server::Server, ConnectionID};
use std::future::Future;
use tokio::sync::broadcast;
@@ -357,6 +357,7 @@ mod test {
PacketS::Join {
name: format!("test {conn}"),
character: 1,
+ class: PlayerClass::Chef,
id: None,
},
)