diff --git a/runtime/gdev/tests/integration_tests.rs b/runtime/gdev/tests/integration_tests.rs index a4aca6af0048900a0205e15b1e5ce24587d6cfcb..c7c00c10afb1cf24ddfb9b292c9934f3bece8aae 100644 --- a/runtime/gdev/tests/integration_tests.rs +++ b/runtime/gdev/tests/integration_tests.rs @@ -1507,7 +1507,7 @@ fn test_change_owner_key_validator_keys_set() { let bob = AccountKeyring::Bob.to_account_id(); let ferdie = AccountKeyring::Ferdie.to_account_id(); let payload = (b"icok", genesis_hash, 2u32, bob.clone()).encode(); - let signature = AccountKeyring::Bob.sign(&payload); + let signature = AccountKeyring::Ferdie.sign(&payload); // Bob is not an online validator, but his identity/owner_key is already associated. // He should not be able to change its owner_key. @@ -1537,7 +1537,7 @@ fn test_change_owner_key_validator_online() { let alice = AccountKeyring::Alice.to_account_id(); let ferdie = AccountKeyring::Ferdie.to_account_id(); let payload = (b"icok", genesis_hash, 1u32, alice.clone()).encode(); - let signature = AccountKeyring::Alice.sign(&payload); + let signature = AccountKeyring::Ferdie.sign(&payload); // Alice is an online validator assert!(pallet_authority_members::OnlineAuthorities::<Runtime>::get().contains(&1));