fix: compilation errors
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
This commit is contained in:
parent
ec2f976b17
commit
c8beee7246
3 changed files with 3 additions and 4 deletions
|
@ -119,6 +119,7 @@ pub mod tests {
|
||||||
.first_name(first_name.into())
|
.first_name(first_name.into())
|
||||||
.last_name(last_name.into())
|
.last_name(last_name.into())
|
||||||
.email(email.into())
|
.email(email.into())
|
||||||
|
.user_id(UUID)
|
||||||
.password(password.into())
|
.password(password.into())
|
||||||
.confirm_password(wrong_password.into())
|
.confirm_password(wrong_password.into())
|
||||||
.build()
|
.build()
|
||||||
|
|
|
@ -21,6 +21,7 @@ pub struct UserRegisteredEvent {
|
||||||
email_verified: bool,
|
email_verified: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::{
|
use crate::{
|
||||||
|
|
|
@ -149,10 +149,7 @@ mod tests {
|
||||||
let cmd = command::RegisterUserCommand::get_command();
|
let cmd = command::RegisterUserCommand::get_command();
|
||||||
|
|
||||||
let s = RegisterUserServiceBuilder::default()
|
let s = RegisterUserServiceBuilder::default()
|
||||||
.db_user_id_exists_adapter(mock_user_id_exists_db_port(
|
.db_user_id_exists_adapter(mock_user_id_exists_db_port(IS_NEVER_CALLED, RETURNS_FALSE))
|
||||||
IS_CALLED_ONLY_ONCE,
|
|
||||||
RETURNS_FALSE,
|
|
||||||
))
|
|
||||||
.db_create_verification_secret_adapter(mock_create_verification_secret_db_port(
|
.db_create_verification_secret_adapter(mock_create_verification_secret_db_port(
|
||||||
IS_NEVER_CALLED,
|
IS_NEVER_CALLED,
|
||||||
))
|
))
|
||||||
|
|
Loading…
Add table
Reference in a new issue