Skip to content

Commit

Permalink
Update pallets/treasury-funding/src/tests.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Tomás Senovilla Polo  <117524919+tsenovilla@users.noreply.github.com>
  • Loading branch information
asiniscalchi and tsenovilla authored Dec 13, 2024
1 parent 7bc01dd commit 6e13b94
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pallets/treasury-funding/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,11 @@ fn test_fund_treasury_during_active_vesting() {
let _ = Balances::force_set_balance(RuntimeOrigin::root(), vault_account, initial_balance);

// Step 2: Create a vesting schedule for the vault account.
Vesting::vested_transfer(
assert_ok!(Vesting::vested_transfer(
RuntimeOrigin::signed(vault_account),
vault_account,
pallet_vesting::VestingInfo::new(1_000, 1, 0),
)
.unwrap();
));

// Step 3: Simulate the passage of time (to block 500).
System::set_block_number(500);
Expand Down

0 comments on commit 6e13b94

Please sign in to comment.