User-Integration Tests and better infrastructure #28

Merged
mixel merged 8 commits from integration-test-addition into main 2025-06-20 17:03:40 +02:00
Showing only changes of commit c98eb9cdbb - Show all commits

View file

@ -15,6 +15,7 @@ pub fn setup(cfg: &mut actix_web::web::ServiceConfig) {
pub struct CreateUser { pub struct CreateUser {
#[validate(length(min = 4, max = 255))] #[validate(length(min = 4, max = 255))]
/// Username (minimum 4 characters, maximum 255 characters) /// Username (minimum 4 characters, maximum 255 characters)
/// TODO: Don't allow spaces, only alphanumeric characters and underscores
username: String, username: String,
#[validate(length(min = 3))] #[validate(length(min = 3))]
/// Full name of the user (minimum 3 characters) /// Full name of the user (minimum 3 characters)