Changed demo username
This commit is contained in:
parent
3c48698522
commit
985ce53a97
1 changed files with 1 additions and 1 deletions
|
@ -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!')",)
|
||||
|
|
Loading…
Reference in a new issue