fix: compilation errors
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2025-04-02 18:06:10 +05:30
parent ec2f976b17
commit c8beee7246
Signed by: realaravinth
GPG key ID: F8F50389936984FF
3 changed files with 3 additions and 4 deletions

View file

@ -119,6 +119,7 @@ pub mod tests {
.first_name(first_name.into())
.last_name(last_name.into())
.email(email.into())
.user_id(UUID)
.password(password.into())
.confirm_password(wrong_password.into())
.build()

View file

@ -21,6 +21,7 @@ pub struct UserRegisteredEvent {
email_verified: bool,
}
#[cfg(test)]
mod test {
use super::*;
use crate::{

View file

@ -149,10 +149,7 @@ mod tests {
let cmd = command::RegisterUserCommand::get_command();
let s = RegisterUserServiceBuilder::default()
.db_user_id_exists_adapter(mock_user_id_exists_db_port(
IS_CALLED_ONLY_ONCE,
RETURNS_FALSE,
))
.db_user_id_exists_adapter(mock_user_id_exists_db_port(IS_NEVER_CALLED, RETURNS_FALSE))
.db_create_verification_secret_adapter(mock_create_verification_secret_db_port(
IS_NEVER_CALLED,
))