Skip to content

Commit

Permalink
Fix some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeHartnell authored and Jake Hartnell committed Mar 26, 2024
1 parent 8ef65d8 commit 69cd33b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contracts/external/cw-abc/src/test_tube/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ fn test_happy_path() {
CommonsPhaseConfig {
hatch: HatchConfig {
contribution_limits: MinMax {
min: Uint128::one(),
min: Uint128::from(10u128),
max: Uint128::from(1000000u128),
},
initial_raise: MinMax {
min: Uint128::one(),
min: Uint128::from(10u128),
max: Uint128::from(1000000u128),
},
initial_allocation_ratio: Decimal::percent(10u64),
Expand Down Expand Up @@ -226,14 +226,14 @@ fn test_max_supply_enforced() {
let err = abc
.execute(
&ExecuteMsg::Buy {},
&coins(1000000000000000000000000, RESERVE),
&coins(10000000000000, RESERVE),
&accounts[0],
)
.unwrap_err();
assert_eq!(
err,
abc.execute_error(ContractError::CannotExceedMaxSupply {
max: Uint128::from(1000000u128)
max: Uint128::from(1000000000u128)
})
);
}

0 comments on commit 69cd33b

Please sign in to comment.