()
| 973 | |
| 974 | #[test] |
| 975 | fn test_validate_password_complexity_error() { |
| 976 | validate_password_complexity("a").unwrap_err().contains("8 characters"); |
| 977 | validate_password_complexity("abcdefg").unwrap_err().contains("8 characters"); |
| 978 | validate_password_complexity("long enough").unwrap_err().contains("letters and numbers"); |
| 979 | validate_password_complexity("1234567890").unwrap_err().contains("letters and numbers"); |
| 980 | } |
| 981 | |
| 982 | #[test] |
| 983 | fn test_signup_ok() { |
nothing calls this directly
no test coverage detected