fix ci; nicer explanation; subpages
All checks were successful
CI/CD Pipeline / test (push) Successful in 7m26s
CI/CD Pipeline / deploy-main (push) Successful in 4m6s

This commit is contained in:
2024-12-11 20:15:08 +01:00
parent 64ca9826ea
commit 80f7120085
7 changed files with 203 additions and 12 deletions

View File

@@ -630,14 +630,14 @@ mod test {
fn test_succ_create() {
let pool = testdb!();
assert_eq!(User::create(&pool, "new-user-name".into()).await, true);
User::create(&pool, "new-user-name".into()).await;
}
#[sqlx::test]
fn test_duplicate_name_create() {
let pool = testdb!();
assert_eq!(User::create(&pool, "admin".into()).await, false);
User::create(&pool, "admin".into()).await;
}
#[sqlx::test]