fix tests
This commit is contained in:
parent
ca38d60ff0
commit
40a1fdb236
@ -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) {
|
pub async fn new_user_character<EG: EntityGateway>(entity_gateway: &mut EG, username: &str, password: &str) -> (UserAccountEntity, CharacterEntity) {
|
||||||
let new_user = NewUserAccountEntity {
|
let new_user = NewUserAccountEntity {
|
||||||
|
email: format!("{}@pso.com", username),
|
||||||
username: username.into(),
|
username: username.into(),
|
||||||
password: bcrypt::hash(password, 5).unwrap(),
|
password: bcrypt::hash(password, 5).unwrap(),
|
||||||
guildcard: 1,
|
guildcard: 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user