Files
thoughts/thoughts-backend/tests/app/persistence/mod.rs
Gabriel Kaszewski 912259ef54 Refactor blog module and remove blog-related functionality
- Removed blog router and associated API endpoints.
- Deleted blog persistence functions and related query parameters.
- Removed blog schemas and models from the codebase.
- Introduced common crate for shared types, including DateTimeWithTimeZoneWrapper.
- Added Thought and Follow models with corresponding migrations.
- Updated dependencies in Cargo.toml files to reflect changes.
- Adjusted tests to remove references to the blog module.
2025-09-05 18:10:58 +02:00

15 lines
235 B
Rust

use utils::testing::setup_test_db;
mod user;
use user::test_user;
#[tokio::test]
async fn user_main() {
let db = setup_test_db("sqlite::memory:")
.await
.expect("Set up db failed!");
test_user(&db).await;
}