Skip to content

Commit

Permalink
Fix up after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Dec 8, 2020
1 parent a7977e0 commit 9b92138
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contracts/cw3-flex-multisig/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1087,11 +1087,11 @@ mod tests {
let query_voter = QueryMsg::Voter {
address: VOTER3.into(),
};
let power: VoterResponse = app
let power: VoterInfo = app
.wrap()
.query_wasm_smart(&flex_addr, &query_voter)
.unwrap();
assert_eq!(power.weight, 3);
assert_eq!(power.weight, Some(3));

// Pass and execute first proposal
let yes_vote = HandleMsg::Vote {
Expand All @@ -1107,11 +1107,11 @@ mod tests {
.unwrap();

// check membership changed properly
let power: VoterResponse = app
let power: VoterInfo = app
.wrap()
.query_wasm_smart(&flex_addr, &query_voter)
.unwrap();
assert_eq!(power.weight, 0); // FIXME: this should become None in a future PR
assert_eq!(power.weight, None);

// first proposal executed, second closed
let query_prop_1 = QueryMsg::Proposal {
Expand Down

0 comments on commit 9b92138

Please sign in to comment.