Skip to content

Commit

Permalink
Fix leftover from previous implementation in test
Browse files Browse the repository at this point in the history
  • Loading branch information
max-dfinity committed Jan 22, 2025
1 parent c899296 commit eac51a6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rs/nns/test_utils/src/state_test_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1590,9 +1590,7 @@ pub fn list_all_neurons_and_combine_responses(

let mut response = list_neurons(state_machine, sender, request.clone());

// TODO use the variable from NNS Governance
let pages_needed =
(response.total_pages_available.unwrap()).div_ceil(request.page_size.unwrap_or(500));
let pages_needed = response.total_pages_available.unwrap();

for page in 1..=pages_needed {
let mut new_request = request.clone();
Expand Down

0 comments on commit eac51a6

Please sign in to comment.