diff --git a/elections/src/lib.rs b/elections/src/lib.rs index 5beccf21..8e99decb 100644 --- a/elections/src/lib.rs +++ b/elections/src/lib.rs @@ -690,20 +690,6 @@ mod unit_tests { ctr.vote(prop_id, vec![candidate(1)]); } - #[test] - fn accepted_policy_query() { - let (mut ctx, mut ctr) = setup(&admin()); - - let mut res = ctr.accepted_policy(admin()); - assert!(res.is_none()); - ctx.attached_deposit = ACCEPT_POLICY_COST; - testing_env!(ctx.clone()); - ctr.accept_fair_voting_policy(policy1()); - res = ctr.accepted_policy(admin()); - assert!(res.is_some()); - assert_eq!(res.unwrap(), policy1()); - } - #[test] fn proposal_status_query() { let (mut ctx, mut ctr) = setup(&admin());