Browse Source

fix tests after rebase

pull/86/head
andy 3 years ago
parent
commit
e129cd9e81
  1. 4
      tests/test_rooms.rs

4
tests/test_rooms.rs

@ -119,7 +119,7 @@ async fn test_load_rare_monster_default_appear_rates() {
#[async_std::test]
async fn test_set_valid_quest_group() {
let mut entity_gateway = InMemoryGateway::default();
let (_user1, _char1) = new_user_character(&mut entity_gateway, "a1", "a").await;
let (_user1, _char1) = new_user_character(&mut entity_gateway, "a1", "a", 1).await;
let mut ship = Box::new(ShipServerState::builder()
.gateway(entity_gateway.clone())
.build());
@ -139,7 +139,7 @@ async fn test_set_valid_quest_group() {
#[async_std::test]
async fn test_set_invalid_quest_group() {
let mut entity_gateway = InMemoryGateway::default();
let (_user1, _char1) = new_user_character(&mut entity_gateway, "a1", "a").await;
let (_user1, _char1) = new_user_character(&mut entity_gateway, "a1", "a", 1).await;
let mut ship = Box::new(ShipServerState::builder()
.gateway(entity_gateway.clone())
.build());

Loading…
Cancel
Save