Skip to content

Commit 62e15db

Browse files
krpeacocksesi200Jason I
authoredMar 20, 2024
chore: update basic-dao (#537)
Co-authored-by: Severin Siffert <severin.siffert@dfinity.org> Co-authored-by: Jason I <jason.ibrahim@dfinity.org>
1 parent 66d3f09 commit 62e15db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎motoko/basic_dao/tests/proposal.test.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ identity bob;
112112
call DAO.submit_proposal(
113113
record {
114114
canister_id = DAO;
115-
method = "transfer2";
115+
method = "transfer";
116116
message = encode DAO.transfer(record { to = alice; amount = record { amount_e8s = 100 } });
117117
},
118118
);
119119
let bob1 = _.ok;
120120
call DAO.submit_proposal(
121121
record {
122122
canister_id = DAO;
123-
method = "transfer2";
123+
method = "transfer";
124124
message = encode DAO.transfer(record { to = alice; amount = record { amount_e8s = 100 } });
125125
},
126126
);
@@ -155,4 +155,4 @@ upgrade(DAO, wasm, init);
155155
call DAO.list_proposals();
156156
assert _[0].state == variant { succeeded };
157157
assert _[1].state == variant { rejected };
158-
assert _[2].state.failed ~= "has no update method 'transfer2'";
158+
assert _[2].state.failed ~= "has no update method 'transfer'";

0 commit comments

Comments
 (0)