Lot S : tests serveur repris sans Propositions seed en vigueur (modules, overview), rustfmt

modules.rs : 0 article en vigueur et 35 propositions en cours dans une base
neuve (I1, E1 et E2 sont des Propositions seed) ; l'ajout des modules à une
base existante se rejoue sur le seed de production du 02/11 (textes en
vigueur), comme inertia.rs. overview.rs : le vote porte sur la Proposition
seed I1 ; 41 modules à voter, inchangé.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Yvv
2026-11-03 04:12:20 +01:00
co-authored by Claude Opus 5.5
parent ef461617de
commit aaa653e1a7
7 changed files with 49 additions and 22 deletions
+5 -2
View File
@@ -409,7 +409,10 @@ async fn inertia_change_is_voted_at_the_level_of_the_article() {
assert_eq!(again["id"], p.as_str());
let (_, d) = a.call("GET", &format!("/api/proposals/{p}"), None).await;
let low = u64::from(ld_server::seed::SEED_PROPOSAL_LEVEL);
assert_eq!((d["proposal"]["inertiaTarget"].as_u64(), d["proposal"]["votedAtInertia"].as_u64()), (Some(5), Some(low)));
assert_eq!(
(d["proposal"]["inertiaTarget"].as_u64(), d["proposal"]["votedAtInertia"].as_u64()),
(Some(5), Some(low))
);
}
#[tokio::test]
@@ -843,7 +846,7 @@ async fn a_refused_first_push_goes_out_again_and_a_new_empty_repository_receives
key: dir.join("data/keys/publish_ed25519"),
author_name: "libreDecision".into(),
author_email: "decision@example.org".into(),
without_articles: false,
without_articles: false,
});
cfg
};