This commit is contained in:
2025-10-10 09:39:58 +02:00
parent 4a428b9af6
commit ddce0e39b3
36 changed files with 6410 additions and 1419 deletions
+1 -4
View File
@@ -14,10 +14,7 @@ struct AuthenticatedUser {
#[tokio::test]
async fn login_and_me_roundtrip() -> Result<()> {
let _lock = acquire_db_lock().await;
let Some(app) = TestApp::new().await? else {
eprintln!("skipping test: TEST_DATABASE_URL not set");
return Ok(());
};
let app = TestApp::new().await?;
let password = "s3cret";
app.insert_user("alice", password, "admin").await?;