add a test
This commit is contained in:
parent
114ed07adc
commit
046ca492a8
@ -9,7 +9,7 @@ mod common;
|
|||||||
use common::*;
|
use common::*;
|
||||||
|
|
||||||
#[async_std::test]
|
#[async_std::test]
|
||||||
pub async fn test_save_options<EG: EntityGateway>(ship: &mut ShipServerState<EG>, id: ClientId, options: u32) {
|
async fn test_save_options<EG: EntityGateway>(ship: &mut ShipServerState<EG>, id: ClientId, options: u32) {
|
||||||
let mut entity_gateway = InMemoryGateway::new();
|
let mut entity_gateway = InMemoryGateway::new();
|
||||||
|
|
||||||
let (user1, _char1) = new_user_character(&mut entity_gateway, "a1", "a").await;
|
let (user1, _char1) = new_user_character(&mut entity_gateway, "a1", "a").await;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user