Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn committed Apr 11, 2024
1 parent 1fec89b commit 11d3bc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion voting_body/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1360,8 +1360,9 @@ mod unit_tests {
testing_env!(ctx.clone());
ctr.admin_add_to_whitelist(acc(1));
ctx.predecessor_account_id = acc(1);
ctx.attached_deposit = VOTE_DEPOSIT;
testing_env!(ctx.clone());
assert_eq!(ctr.vote_whitelist(vote_payload(id, Vote::Approve)), Ok(()));
ctr.vote_whitelist(vote_payload(id, Vote::Approve));
}

#[test]
Expand Down

0 comments on commit 11d3bc4

Please sign in to comment.