diff --git a/server/src/state.rs b/server/src/state.rs index 93b1d1d..7d038fd 100644 --- a/server/src/state.rs +++ b/server/src/state.rs @@ -54,7 +54,7 @@ async fn debug_setup(pool: &SqlitePool) -> Result<(), sqlx::Error> { use crate::db::db_new_user; - db_new_user("testuser".to_string(), "testpassword".to_string(), pool).await; + db_new_user("user".to_string(), "pass".to_string(), pool).await; // This requires that the user with id 1 exists in the user table query!("INSERT INTO posts (user_id, content) VALUES (1, 'Hello world!')",)