mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 15:27:57 +00:00
fix tests (#5416)
This commit is contained in:
@@ -254,8 +254,6 @@ fn staking_should_work() {
|
||||
// --- Block 1:
|
||||
start_session(1);
|
||||
|
||||
Timestamp::set_timestamp(1); // Initialize time.
|
||||
|
||||
// remember + compare this along with the test.
|
||||
assert_eq_uvec!(validator_controllers(), vec![20, 10]);
|
||||
|
||||
@@ -1039,7 +1037,6 @@ fn bond_extra_and_withdraw_unbonded_works() {
|
||||
assert_ne!(Staking::eras_stakers(Staking::active_era().unwrap().index, 11), Exposure { total: 1000 + 100, own: 1000 + 100, others: vec![] });
|
||||
|
||||
// trigger next era.
|
||||
Timestamp::set_timestamp(10);
|
||||
start_era(2);
|
||||
assert_eq!(Staking::active_era().unwrap().index, 2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user