Skip to content

Commit

Permalink
Fixed attached_deposit in factory unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nninkoviSQA committed Apr 4, 2022
1 parent 46ecfb8 commit 31af94d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sputnikdao-factory2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ mod tests {
testing_env!(context
.current_account_id(alice())
.predecessor_account_id(alice())
.attached_deposit(10)
.attached_deposit(to_yocto("5"))
.build());
let factory = SputnikDAOFactory::new();

Expand All @@ -474,7 +474,7 @@ mod tests {
testing_env!(context
.current_account_id(alice())
.predecessor_account_id(carol())
.attached_deposit(10)
.attached_deposit(to_yocto("5"))
.build());
let factory = SputnikDAOFactory::new();

Expand All @@ -487,7 +487,7 @@ mod tests {
testing_env!(context
.current_account_id(bob())
.predecessor_account_id(bob())
.attached_deposit(10)
.attached_deposit(to_yocto("6"))
.build());
let mut factory = SputnikDAOFactory::new();

Expand All @@ -507,7 +507,7 @@ mod tests {
testing_env!(context
.current_account_id(accounts(0))
.predecessor_account_id(accounts(0))
.attached_deposit(10)
.attached_deposit(to_yocto("5"))
.build());
let factory = SputnikDAOFactory::new();

Expand Down

0 comments on commit 31af94d

Please sign in to comment.