Skip to content

Commit

Permalink
Fixed integration_tests. I think everything is fixed now (after delet…
Browse files Browse the repository at this point in the history
…ing *_voting_power fields from NNS governance.proto).
  • Loading branch information
daniel-wong-dfinity-org committed Jan 29, 2025
1 parent 00d4a3b commit be7b682
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions rs/nns/integration_tests/src/neuron_voting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ use assert_matches::assert_matches;
use ic_base_types::PrincipalId;
use ic_nervous_system_common_test_keys::{TEST_NEURON_1_ID, TEST_NEURON_1_OWNER_PRINCIPAL};
use ic_nns_common::{pb::v1::NeuronId, types::ProposalId};
use ic_nns_governance::pb::v1::{
neuron::{DissolveState, Followees},
Neuron, Topic,
};
use ic_nns_governance_api::pb::v1::{
self as api,
governance_error::ErrorType,
manage_neuron_response::{Command, RegisterVoteResponse},
BallotInfo, ListNeurons, Vote,
neuron::{DissolveState, Followees},
BallotInfo, ListNeurons, Topic, Vote,
};
use ic_nns_test_utils::{
common::NnsInitPayloadsBuilder,
Expand Down Expand Up @@ -349,7 +347,7 @@ fn neuron_with_followees(
}
let subaccount = Subaccount::try_from(account.as_slice()).unwrap();

Neuron {
api::Neuron {
id: Some(neuron_id),
controller: Some(PrincipalId::new_user_test_id(id)),
hot_keys: vec![*TEST_NEURON_1_OWNER_PRINCIPAL],
Expand All @@ -360,7 +358,6 @@ fn neuron_with_followees(
followees,
..Default::default()
}
.into()
}

#[test]
Expand Down

0 comments on commit be7b682

Please sign in to comment.