()
| 175 | |
| 176 | #[tokio::test] |
| 177 | async fn test_create_chat() { |
| 178 | let (pool, repo, user_id) = setup().await; |
| 179 | let chat = repo.create_chat(user_id, "test", "gpt-4").await; |
| 180 | assert!(chat.is_ok(), "Failed to create chat"); |
| 181 | } |
| 182 | |
| 183 | #[tokio::test] |
| 184 | async fn test_add_message_block() { |
nothing calls this directly
no test coverage detected