Changed demo username

This commit is contained in:
Imbus 2023-10-21 08:51:51 +02:00
parent 3c48698522
commit 985ce53a97

View file

@ -54,7 +54,7 @@ async fn debug_setup(pool: &SqlitePool) -> Result<(), sqlx::Error> {
use crate::db::db_new_user; 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 // This requires that the user with id 1 exists in the user table
query!("INSERT INTO posts (user_id, content) VALUES (1, 'Hello world!')",) query!("INSERT INTO posts (user_id, content) VALUES (1, 'Hello world!')",)