- 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.
15 lines
235 B
Rust
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;
|
|
}
|