From cad188aeb711dbb308b783ebd5bfdda1e9a35e3d Mon Sep 17 00:00:00 2001 From: Kevin Janssen Date: Wed, 18 Nov 2026 22:42:14 +0100 Subject: [PATCH] Use complete certificate evidence in the hypervisor database fixture --- crates/server/src/devices.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/server/src/devices.rs b/crates/server/src/devices.rs index 8273613..d2e9afe 100644 --- a/crates/server/src/devices.rs +++ b/crates/server/src/devices.rs @@ -636,7 +636,7 @@ mod tests { ] { sqlx::query("INSERT INTO assets(tenant_id,asset_id) VALUES($1,$2)") .bind(customer).bind(id).execute(&admin).await.unwrap(); - sqlx::query("INSERT INTO agent_installations(tenant_id,asset_id,agent_id,certificate_sha256,last_contact_at,last_authenticated_at) VALUES($1,$2,$2,$3,now(),now())") + sqlx::query("INSERT INTO agent_installations(tenant_id,asset_id,agent_id,certificate_sha256,last_contact_at,last_authenticated_at,last_authenticated_certificate_sha256) VALUES($1,$2,$2,$3,now(),now(),$3)") .bind(customer).bind(id).bind(rmm_domain::jobs::hash(format!("{customer}:{id}").as_bytes())) .execute(&admin).await.unwrap(); let data = json!({"hostname":name,"os":"Ubuntu","root_available_bytes":10,"root_total_bytes":20,