Skip to content

Commit

Permalink
chore: update basic-dao (#537)
Browse files Browse the repository at this point in the history
Co-authored-by: Severin Siffert <[email protected]>
Co-authored-by: Jason I <[email protected]>
  • Loading branch information
3 people authored Mar 20, 2024
1 parent 66d3f09 commit 62e15db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions motoko/basic_dao/tests/proposal.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ identity bob;
call DAO.submit_proposal(
record {
canister_id = DAO;
method = "transfer2";
method = "transfer";
message = encode DAO.transfer(record { to = alice; amount = record { amount_e8s = 100 } });
},
);
let bob1 = _.ok;
call DAO.submit_proposal(
record {
canister_id = DAO;
method = "transfer2";
method = "transfer";
message = encode DAO.transfer(record { to = alice; amount = record { amount_e8s = 100 } });
},
);
Expand Down Expand Up @@ -155,4 +155,4 @@ upgrade(DAO, wasm, init);
call DAO.list_proposals();
assert _[0].state == variant { succeeded };
assert _[1].state == variant { rejected };
assert _[2].state.failed ~= "has no update method 'transfer2'";
assert _[2].state.failed ~= "has no update method 'transfer'";

0 comments on commit 62e15db

Please sign in to comment.