Skip to content

Commit 26bb8f6

Browse files
committed
fix test_user_ad_network_with_identify_fields_ok()
1 parent 3404a5b commit 26bb8f6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pallets/subtensor/tests/root.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,10 +1052,7 @@ fn test_user_add_network_with_identity_fields_ok() {
10521052
assert_eq!(stored_identity_2.subnet_contact, subnet_contact_2);
10531053

10541054
// Now remove the first network.
1055-
assert_ok!(SubtensorModule::user_remove_network(
1056-
RuntimeOrigin::signed(coldkey_1),
1057-
1
1058-
));
1055+
assert_ok!(SubtensorModule::user_remove_network(coldkey_1, 1));
10591056

10601057
// Verify that the first network and identity have been removed.
10611058
assert!(SubnetIdentities::<Test>::get(1).is_none());

0 commit comments

Comments
 (0)