()
| 73 | // ==================== Database Tests ==================== |
| 74 | #[tokio::test] |
| 75 | async fn test_list_databases() { |
| 76 | let ctx = setup_test_server(vec!["default", "test_db1", "prod_db"]).await; |
| 77 | |
| 78 | let dbs = ctx.api.list_databases().await.unwrap(); |
| 79 | |
| 80 | assert!(dbs.contains(&"default".to_string())); |
| 81 | assert!(dbs.contains(&"test_db1".to_string())); |
| 82 | assert!(dbs.contains(&"prod_db".to_string())); |
| 83 | } |
| 84 | |
| 85 | #[tokio::test] |
| 86 | async fn test_create_database() { |
nothing calls this directly
no test coverage detected