server: update integration tests

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I3a8adec01604806e1dab5e3deea88c3e6a6a6964
This commit is contained in:
raf 2026-02-07 20:19:10 +03:00
commit 0c11680a56
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -83,6 +83,10 @@ async fn test_e2e_project_eval_build_flow() {
let eval = fc_common::repo::evaluations::create(&pool, CreateEvaluation { let eval = fc_common::repo::evaluations::create(&pool, CreateEvaluation {
jobset_id: jobset.id, jobset_id: jobset.id,
commit_hash: "e2e0000000000000000000000000000000000000".to_string(), commit_hash: "e2e0000000000000000000000000000000000000".to_string(),
pr_number: None,
pr_head_branch: None,
pr_base_branch: None,
pr_action: None,
}) })
.await .await
.expect("create evaluation"); .expect("create evaluation");
@ -274,6 +278,7 @@ async fn test_e2e_project_eval_build_flow() {
pool: pool.clone(), pool: pool.clone(),
config, config,
sessions: std::sync::Arc::new(dashmap::DashMap::new()), sessions: std::sync::Arc::new(dashmap::DashMap::new()),
http_client: reqwest::Client::new(),
}; };
let app = fc_server::routes::router(state, &server_config); let app = fc_server::routes::router(state, &server_config);