Skip to content

Commit 81d7da3

Browse files
committed
patch test
1 parent 432c916 commit 81d7da3

File tree

1 file changed

+1
-1
lines changed
  • pallets/admin-utils/src/tests

1 file changed

+1
-1
lines changed

pallets/admin-utils/src/tests/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ fn test_sudo_set_rho() {
647647
fn test_sudo_set_activity_cutoff() {
648648
new_test_ext().execute_with(|| {
649649
let netuid: u16 = 1;
650-
let to_be_set: u16 = 10;
650+
let to_be_set: u16 = pallet_subtensor::MinActivityCutoff::<T>::get();
651651
add_network(netuid, 10);
652652
let init_value: u16 = SubtensorModule::get_activity_cutoff(netuid);
653653
assert_eq!(

0 commit comments

Comments
 (0)