Browse Source

fix tests

pbs
jake 4 years ago
parent
commit
40a1fdb236
  1. 1
      tests/common.rs

1
tests/common.rs

@ -15,6 +15,7 @@ use libpso::{utf8_to_array, utf8_to_utf16_array};
pub async fn new_user_character<EG: EntityGateway>(entity_gateway: &mut EG, username: &str, password: &str) -> (UserAccountEntity, CharacterEntity) {
let new_user = NewUserAccountEntity {
email: format!("{}@pso.com", username),
username: username.into(),
password: bcrypt::hash(password, 5).unwrap(),
guildcard: 1,

Loading…
Cancel
Save