MCPcopy Create free account
hub / github.com/bitswired/rustgpt / test_create_chat

Function test_create_chat

src/data/repository.rs:177–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 2

setupFunction · 0.85
create_chatMethod · 0.80

Tested by

no test coverage detected