Skip to content

Commit d715bbc

Browse files
committed
Fixes
1 parent 1cedb5c commit d715bbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pallets/admin-utils/tests/tests.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use frame_support::{
55
};
66
use frame_system::Config;
77
use pallet_admin_utils::Error;
8-
use pallet_subtensor::{migrations, Error as SubtensorError, Event};
8+
use pallet_subtensor::{migrations, subnets, Error as SubtensorError, Event};
99
use sp_core::U256;
1010

1111
mod mock;
@@ -1203,7 +1203,7 @@ fn test_set_alpha_values_dispatch_info_ok() {
12031203
fn test_sudo_get_set_alpha() {
12041204
new_test_ext().execute_with(|| {
12051205
let netuid: u16 = 1;
1206-
let mechid: u16 = 1;
1206+
let mechid: subnets::Mechanism = subnets::Mechanism::Dynamic;
12071207
let alpha_low: u16 = 12_u16;
12081208
let alpha_high: u16 = u16::MAX - 10;
12091209

0 commit comments

Comments
 (0)